Skip to content

Commit

Permalink
Ignore those exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed Nov 18, 2010
1 parent f920f3d commit 2a4460a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/misfit_client/middleware.rb
Expand Up @@ -3,9 +3,9 @@ class Middleware

def self.default_ignore_exceptions
[].tap do |exceptions|
# exceptions << ActiveRecord::RecordNotFound if defined? ActiveRecord
# exceptions << AbstractController::ActionNotFound if defined? AbstractController
# exceptions << ActionController::RoutingError if defined? ActionController
exceptions << ActiveRecord::RecordNotFound if defined? ActiveRecord
exceptions << AbstractController::ActionNotFound if defined? AbstractController
exceptions << ActionController::RoutingError if defined? ActionController
end
end

Expand Down

0 comments on commit 2a4460a

Please sign in to comment.