Skip to content

Commit

Permalink
changed notify to notify_or_ignore
Browse files Browse the repository at this point in the history
Changed notify to notify_or_ignore
notify would let errors through regardless of what is inside of
@ignore in the Airbrake.configuration.
  • Loading branch information
mmcdaris committed Jul 26, 2012
1 parent 7ae8303 commit d9a7067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ controllers:
}
my_unpredicable_method(params)
rescue => e
Airbrake.notify(
Airbrake.notify_or_ignore(
:error_class => "Special Error",
:error_message => "Special Error: #{e.message}",
:parameters => params
Expand Down

0 comments on commit d9a7067

Please sign in to comment.