Skip to content

Fix missing scope information on unhandled exceptions #611

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 2 commits into from
Nov 14, 2022

Conversation

stayallive
Copy link
Collaborator

Because of a mistake when we introduced captureUnhandledException the event is sent using the client and not the hub, the client doesn't enricht events with the scope, the hub does.

This corrects this mistake.

Few notes:

  • Removing the null check on the client is safe since the hub already does this
  • Removing the exception from the hint is safe since the client will add that itself

@cleptric cleptric merged commit 4dcdb02 into master Nov 14, 2022
@cleptric cleptric deleted the fix-missing-scope-unhandled-exception branch November 14, 2022 11:52
@cleptric cleptric added this to the 3.1.1 milestone Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants