Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ignore those exceptions

  • Loading branch information...
commit 2a4460a1f0550e5629da53fbd4b9c9cc908de37c 1 parent f920f3d
Pratik authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/misfit_client/middleware.rb
6 lib/misfit_client/middleware.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.