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

Add panic hook for logging in datadog on one line #47

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

danielle-tfh
Copy link

@danielle-tfh danielle-tfh commented Oct 25, 2024

Motivation

In datadog, panics are printed with backtraces on multi-line. This makes the errors hard to read and hard to count the number of panics that occur.

Solution

In this soloution, we add a panic hook that changes the way panics are printed.

PR Checklist

  • [x ] Added Tests
  • Added Documentation
  • [ x] Breaking changes

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