Browse files

Ignore those exceptions

  • Loading branch information...
1 parent f920f3d commit 2a4460a1f0550e5629da53fbd4b9c9cc908de37c @lifo committed Nov 18, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/misfit_client/middleware.rb
View
6 lib/misfit_client/middleware.rb
@@ -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

0 comments on commit 2a4460a

Please sign in to comment.