Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Messenger: capture_soft_fails:false doesn't work #353

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

Merged
merged 6 commits into from
Jul 8, 2020

Conversation

Jean85
Copy link
Contributor

@Jean85 Jean85 commented Jul 3, 2020

This stems from #326 (comment): I've noticed that the capture_soft_fails option is not working for me, because the willRetry flag is set later, in a different listener with a priority of 100, where our listener has a default priority of 128.

@Jean85 Jean85 added the Bug label Jul 3, 2020
@Jean85 Jean85 added this to the 3.5 milestone Jul 3, 2020
@Jean85 Jean85 self-assigned this Jul 3, 2020
@Jean85 Jean85 changed the title Add regression test Messenger: capture_soft_fails:false doesn't work Jul 3, 2020
@Jean85
Copy link
Contributor Author

Jean85 commented Jul 3, 2020

Ok, the bug seems to be absent on 4.3: https://travis-ci.org/github/getsentry/sentry-symfony/jobs/704627016

[EDIT] This is due symfony/symfony@d7e0f98; the offending listener was created there, since the Messenger received BC up until 4.4, where it was no longer experimental.

@Jean85 Jean85 force-pushed the fix-capture-soft-failures branch from f2cd590 to f18b440 Compare July 4, 2020 20:58
@Jean85 Jean85 marked this pull request as ready for review July 4, 2020 21:08
@Jean85
Copy link
Contributor Author

Jean85 commented Jul 4, 2020

@emarref this is ready, can you test it out?

@Jean85
Copy link
Contributor Author

Jean85 commented Jul 8, 2020

I personally tested this in production, it works.

@Jean85 Jean85 merged commit 6b70307 into 3.5.x Jul 8, 2020
@Jean85 Jean85 deleted the fix-capture-soft-failures branch July 8, 2020 10:07
@emarref
Copy link
Contributor

emarref commented Jul 10, 2020

Sorry about that. I've been under the gun with a deadline. It looks like it should work well. I'm still not sure why it was working OK for me in the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants