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

Print stack trace when encountering unexpected panic #406

Merged
merged 1 commit into from
Apr 15, 2024
Merged

Conversation

m90
Copy link
Member

@m90 m90 commented Apr 15, 2024

This code is only run on an unexpected panic, which means all graceful error handling mechanisms have failed, rendering the error more mysterious than it should be (see #403). I guess it makes senses to break out of the established logging pipeline and print the stack trace for debugging purposes.

@m90 m90 merged commit f2ef488 into main Apr 15, 2024
3 checks passed
@m90 m90 deleted the panic-stack branch April 15, 2024 13:12
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.

1 participant