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

v2 bugsnag #170

Draft
wants to merge 1 commit into
base: seb-log
Choose a base branch
from
Draft

v2 bugsnag #170

wants to merge 1 commit into from

Conversation

lavoiesl
Copy link
Contributor

@lavoiesl lavoiesl commented Feb 8, 2023

Significant refactor of the bugsnag package.

Design principles / Motivation

Change the paradigm of adding bugsnag hooks to augment the metadata instead of wrapping calls.

This allows more flexibility into which hooks the user may want.

New features

  1. Is it now possible to use the GlobalHook to temporarily capture events
  2. Smarter detection of error types

Breaking changes

  1. Remove the logrusbugsnag package in favour of the dedicated Shopify/logrus-bugsnag package
  2. Remove the panic handler by default, since it often causes issues. It is still available as an option.

Minor changes

  1. Add Unwrap to the withClass error

@lavoiesl lavoiesl mentioned this pull request Feb 8, 2023
14 tasks
@lavoiesl lavoiesl force-pushed the seb-bugsnag branch 2 times, most recently from 17f9706 to c9e7cd2 Compare February 9, 2023 15:13
- Remove the logrusbugsnag package in favour of the
  dedicated Shopify/logrus-bugsnag package
- Change the paradigm of adding bugsnag hooks to augment the metadata
  instead of wrapping calls.
- Remove the panic handler by default, since it often causes issues. It
  is still available as an option.
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