From 02b33e0ec2ff8490b2c75bd75bda0132208303ba Mon Sep 17 00:00:00 2001 From: James Fargher Date: Tue, 5 May 2015 15:58:33 +1200 Subject: [PATCH] Add UnknownFormat to ignored exceptions list Adding this exception brings our list in line with upstream. --- lib/exception_notifier.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/exception_notifier.rb b/lib/exception_notifier.rb index d12a6af6..150c2493 100644 --- a/lib/exception_notifier.rb +++ b/lib/exception_notifier.rb @@ -7,6 +7,7 @@ def self.default_ignore_exceptions exceptions << ActiveRecord::RecordNotFound if defined? ActiveRecord exceptions << AbstractController::ActionNotFound if defined? AbstractController exceptions << ActionController::RoutingError if defined? ActionController + exceptions << ActionController::UnknownFormat if defined? ActionController end end