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

Can we provide more data when reporting an unhandled rejection? #1180

Open
BethanyBerkowitz opened this issue Sep 6, 2023 · 0 comments
Open
Labels
js @honeybadger-io/js

Comments

@BethanyBerkowitz
Copy link
Contributor

See #1172 (comment)

When reporting an unhandled rejection in server-side JS using the plugin, we only provide the "reason".

The "reason" is usually an error, in which case client.notify(reason) should work great. However, the "reason" could also be of some other type. In this case, can we provide more information using the promise passed through in the unhandledRejection event?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
js @honeybadger-io/js
Projects
None yet
Development

No branches or pull requests

1 participant