Skip to content

Conversation

@shaunrs
Copy link

@shaunrs shaunrs commented Oct 13, 2022

Currently the macro report_panics! works just fine, but it replaces the default panic hook.

This causes a number of issues:

  1. No feedback on the console once rollbar is enabled, which is the default expected behaviour for panic!
  2. A custom panic_hook that is in place before rollbar is called will no longer be called

This PR fixes that by chaining the original panic hook on the end of rollbar reporting.

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