-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add celery integration #124
add celery integration #124
Conversation
@Kelvin4664 Can you please take a look at this? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. Particularly love the way you hooked into celery events and not rely on monkey patching.
Please add some integration instruction to Readme
and a Changelog
entry under the Unreleased
header.
Thank you!
HONEYBADGER_API_KEY= 'production', | ||
HONEYBADGER_ENVIRONMENT= '<your key>' | ||
) | ||
CeleryHoneybadger(app, report_exceptions=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have mixed feeling around having report_exceptions
flag separate from the the other config (api_key and environment)
is there a reason for the separation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I followed the same pattern you guys used in the Flask plugin
@Kelvin4664 are the tests failing because of my pr? I can see It's coming from fastapi |
Hey @Mng-dev-ai, have you tried running them locally? |
Hey @subzero10, ya I tried running them on the master branch locally and got the same error |
Found the issue. It seems that we need to install httpx with the latest version of fastapi. |
Hey @Mng-dev-ai, can you please rebase/merge with master? This should fix the current issue with the tests. |
becc3a9
to
85cc32d
Compare
@subzero10 Done. |
Published with Thank you @Mng-dev-ai and @Kelvin4664! |
Release v0.14.0 is broken! |
😱 @Mng-dev-ai Can you make the plugin conditional? Something like:
Or is there a better approach for this? cc @Kelvin4664 |
@subzero10 oh right, added a PR to fix it here |
That was fast, thanks! I published v0.14.1 with your fix. |
Resolves #61