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

Update error handler with additional checks #83

Conversation

sixlive
Copy link
Collaborator

@sixlive sixlive commented Jun 10, 2019

Description

Adds a check to ensure error reporting is enabled for that particular error. Fixes an issue where error suppression does not prevent the error from being reported.

Related Issues

Tasks

  • Tests
  • Changelog

@sixlive sixlive force-pushed the update-error-handler-with-additional-checks branch from 1212740 to 6a023d9 Compare June 10, 2019 09:54
@sixlive sixlive merged commit 300eaa7 into honeybadger-io:master Jun 10, 2019
@sixlive sixlive deleted the update-error-handler-with-additional-checks branch June 10, 2019 10:09
@riyuk
Copy link

riyuk commented Jun 10, 2019

Is the right way to return false or simply not to report it to honeybadger and still call previous error handler...?

@sixlive
Copy link
Collaborator Author

sixlive commented Jun 10, 2019

Honestly, I went back and forth on this several times. Almost all examples that I've reviewed just exited early if it shouldn't be reported.

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.

2 participants