Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Ignore expected exceptions #11

Merged
merged 4 commits into from
Apr 27, 2023
Merged

Conversation

takhs91
Copy link
Contributor

@takhs91 takhs91 commented Apr 21, 2020

Hi,
this is complementary to a PR I opened to dramatiq Bogdanp/dramatiq#303 making the required changes in order to ignore exceptions that are part of the expected exceptions declared for an actor using a throws argument.

This depends on my dramatiq PR so untill it gets reviewed, merged and released I open this as a draft

@takhs91 takhs91 changed the title WIP: Ignore expected exeptions WIP: Ignore expected exceptions Apr 21, 2020
@takhs91
Copy link
Contributor Author

takhs91 commented May 11, 2020

The feature this PR complements have been merged into dramatiq Bogdanp/dramatiq@7a1cba2

After it will get included in the next release this will be ready to merge

@takhs91 takhs91 marked this pull request as ready for review May 11, 2020 15:50
@takhs91
Copy link
Contributor Author

takhs91 commented May 15, 2020

I added a commit that also ignores Retry exceptions that were added Bogdanp/dramatiq@76525ad on that commit and they should be reported as an error

@takhs91 takhs91 changed the title WIP: Ignore expected exceptions Ignore expected exceptions Jun 12, 2020
@takhs91
Copy link
Contributor Author

takhs91 commented Jun 12, 2020

Dramatiq released 1.9.0 with all matching changes. This can now be reviewed and merged

@spumer
Copy link

spumer commented Aug 30, 2021

Any updates?

@ramonsaraiva
Copy link
Collaborator

Hey @takhs91 - sorry for the long no ack time. I'm currently using dramatiq 1.11 and I have a few tasks that raise a dramatiq.Retry exception for retries and they're not getting logged to Sentry.

Are these changes only for the throws part? Is it expected to see retry exceptions on Sentry without these changes?

@ramonsaraiva ramonsaraiva merged commit f8cf165 into jacobsvante:master Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants