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

Proposal: add ability to silence exception instances #345

Closed
johnnyshields opened this issue Feb 3, 2017 · 0 comments
Closed

Proposal: add ability to silence exception instances #345

johnnyshields opened this issue Feb 3, 2017 · 0 comments
Labels
feature request Request for a new feature

Comments

@johnnyshields
Copy link
Contributor

johnnyshields commented Feb 3, 2017

I have some cases where I do:

rescue MyException => e
  Bugsnag.notify(e, {meta: data})
  raise e
end

The exception is raised twice in Bugsnag. I'd prefer if I could do something like:

rescue MyException => e
  Bugsnag.notify(e, {meta: data})
  e.bugsnag_silence!
  raise e
end

And that instance wouldn't generate a Bugsnag when it hit's Bugsnag's global catching logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

3 participants