Skip to content

Commit

Permalink
Fixed README(ignore exceptions as classes nor strings)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyeagle committed Mar 28, 2012
1 parent 363efb0 commit 7bc2de6
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 @@ -120,7 +120,7 @@ To achieve that, you should use the _:ignore_exceptions_ option, like this:
:email_prefix => "[Whatever] ",
:sender_address => %{"notifier" <notifier@example.com>},
:exception_recipients => %w{exceptions@example.com},
:ignore_exceptions => %w{::ActionView::TemplateError} + ExceptionNotifier.default_ignore_exceptions
:ignore_exceptions => [::ActionView::TemplateError] + ExceptionNotifier.default_ignore_exceptions

The above will make ExceptionNotifier ignore a *TemplateError*
exception, plus the ones ignored by default.
Expand Down

0 comments on commit 7bc2de6

Please sign in to comment.