Skip to content

Conversation

@tmcw
Copy link
Contributor

@tmcw tmcw commented Oct 10, 2024

Before this PR, epic-stack has two calls to close-with-grace. This removes the redundant call, which was usually the one that ran first and prevented the other one from running. It then adds integration with Sentry so that errors that cause the server to shut down are sent to Sentry, and we give Sentry 500 milliseconds to flush any other errors that haven't been sent yet.

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

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

Excellent. Thank you!

@kentcdodds kentcdodds merged commit f1f6f66 into epicweb-dev:main Oct 10, 2024
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.

epic-stack by default doesn't seem to report unhandled rejections to Sentry.

2 participants