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

Send Sentry reports on uncaught throws/exits #447

Merged
merged 2 commits into from
Dec 21, 2020

Conversation

aselder
Copy link
Contributor

@aselder aselder commented Dec 14, 2020

Fix #446

Previously PlugCapture would only catch exceptions. If there was an uncaught exit or throw, this would be ignored and Plug/Phoenix would end up send a 500 Internal Server Error to the clients with no notification to Sentry.

Fix getsentry#446

Previously PlugCapture would only catch exceptions. If there was an uncaught exit or throw, this would be ignored and Plug/Phoenix would end up send a 500 Internal Server Error to the clients with no notification to Sentry.
@mitchellhenke
Copy link
Contributor

Thank you so much, this is perfect! 💖

@mitchellhenke mitchellhenke merged commit 6c13340 into getsentry:master Dec 21, 2020
@cheerfulstoic
Copy link

Can this be released? I just noticed this issue and I see that the latest sentry package is 8.0.4 from Nov 16th

@mitchellhenke
Copy link
Contributor

@cheerfulstoic yep, thank you for the reminder and sorry for the delay. I've just pushed version 8.0.5 to hex.

@cheerfulstoic
Copy link

🎉 ❤️ Thanks!

@aselder aselder deleted the throw-exit branch November 17, 2022 17:55
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.

Sentry not reporting on processes dying on uncaught exit() or throw()
3 participants