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

Do not report SystemExit errors in at_exit handler #1257

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

tombruijn
Copy link
Member

The SystemExit can be a normal shutdown or a shutdown by the host. We do not need to report those normal events.

If people do want to report this error they can add their own at_exit handler, but let's not report it by default.

The SystemExit can be a normal shutdown or a shutdown by the host. We do
not need to report those normal events.

If people do want to report this error they can add their own `at_exit`
handler, but let's not report it by default.
@tombruijn tombruijn merged commit e9c0cad into main Aug 23, 2024
117 checks passed
@tombruijn tombruijn deleted the at_exit-systemexit branch August 23, 2024 10:04
tombruijn added a commit that referenced this pull request Jan 10, 2025
Same as for our `at_exit` hook in PR #1257, do not report SystemExit
errors for Rake. These are raised by explicitly calling `exit` in apps,
and it's unlikely people want to be reported all the time about them.

Closes appsignal/support#349
tombruijn added a commit that referenced this pull request Jan 10, 2025
Same as for our `at_exit` hook in PR #1257, do not report SystemExit
errors for Rake. These are raised by explicitly calling `exit` in apps,
and it's unlikely people want to be reported all the time about them.

Closes appsignal/support#349
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.

2 participants