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
fix: SQS crashing error with no active transaction #2114
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪 |
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.
One nit.
Assuming tests pass, LGTM.
jenkins run the tests please |
* fix: SQS crashing error with no active transaction elastic#2113
Fixes #2113
This PR modifies adds an additional guard clause to the SQS instrumentation that checks to see if a span was actually started or not. It also removed the old
currentTransaction
guard clause fromshouldIgnoreRequest
and modifies the unit test accordingly.Checklist