Skip to content
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

Improve unhandled rejections handler #155

Merged
merged 2 commits into from
May 30, 2024

Conversation

kibertoad
Copy link
Collaborator

Changes

Add tests and make implementation more robust

Checklist

  • Apply one of following labels; major, minor, patch or skip-release
  • I've updated the documentation, or no changes were necessary
  • I've updated the tests, or no changes were necessary

@kibertoad kibertoad merged commit ad87c1c into main May 30, 2024
5 checks passed
@kibertoad kibertoad deleted the feat/unhandled-rejections-handler branch May 30, 2024 09:26
Comment on lines +124 to +126
context: {
'x-request-id': request.id,
},
Copy link
Contributor

@CarlosGamero CarlosGamero May 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could make sense to include here error.details? I think if we don't include it we won't have it available on Bugsnag

Sorry for the late review 😓 , if this comment makes sense I will create a new PR for it later

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.

None yet

3 participants