Skip to content

fix(js): improved, unambiguous error message#1428

Merged
subzero10 merged 3 commits intomasterfrom
fix-correct-error-message
Feb 25, 2025
Merged

fix(js): improved, unambiguous error message#1428
subzero10 merged 3 commits intomasterfrom
fix-correct-error-message

Conversation

@subzero10
Copy link
Member

Status

READY

Description

Before exiting the process due to uncaught process exceptions or unhandled promise rejections we were logging the same error message, which recently cost hours of debugging for a customer. This should make it easier to identify whether the error originated from (uncaught exception or unhandled rejection).

@subzero10 subzero10 added the js @honeybadger-io/js label Feb 25, 2025
@subzero10 subzero10 requested a review from stympy February 25, 2025 20:15
@subzero10 subzero10 self-assigned this Feb 25, 2025
@subzero10 subzero10 changed the title fix(js): improved unambiguous error message fix(js): improved, unambiguous error message Feb 25, 2025
@subzero10
Copy link
Member Author

Looks like integration tests are failing but the issue is unrelated to this PR. We can go ahead and merge and I will fix those in a separate PR.

@subzero10 subzero10 merged commit fbb5084 into master Feb 25, 2025
7 of 8 checks passed
@subzero10 subzero10 deleted the fix-correct-error-message branch February 25, 2025 20:53
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

Successfully merging this pull request may close these issues.

2 participants