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

Different uncaughtException handling #4511

Merged
merged 2 commits into from
Dec 29, 2022
Merged

Conversation

mattgodbolt
Copy link
Member

We've seen some uncaught exceptions where the process exits before logs are apparently flushed. This hopefully addresses that.

With ref to winstonjs/winston#1504 (comment) and https://nodejs.org/api/process.html#event-uncaughtexception

We've seen some uncaught exceptions where the process exits before logs are apparently flushed. This hopefully addresses that.
@mattgodbolt mattgodbolt merged commit 03a9ce1 into main Dec 29, 2022
@mattgodbolt mattgodbolt deleted the mg/maybe_log_on_uncaught branch December 29, 2022 03:49
mattgodbolt added a commit that referenced this pull request Jan 4, 2023
* Different uncaughtException handling

We've seen some uncaught exceptions where the process exits before logs are apparently flushed. This hopefully addresses that. Also start up sentry earlier, and catch top level exits differently.

With ref to winstonjs/winston#1504 (comment) and https://nodejs.org/api/process.html#event-uncaughtexception
mattgodbolt added a commit that referenced this pull request Jan 24, 2023
* Different uncaughtException handling

We've seen some uncaught exceptions where the process exits before logs are apparently flushed. This hopefully addresses that. Also start up sentry earlier, and catch top level exits differently.

With ref to winstonjs/winston#1504 (comment) and https://nodejs.org/api/process.html#event-uncaughtexception
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.

None yet

1 participant