A skeleton web application configured to use Sinatra and ActiveRecord

ExceptionMailer: Ignore Rack::QueryParser::InvalidParameterError

+4 -1
+4 -1
lib/exceptions.rb
··· 21 21 22 22 private 23 23 def boring?(exception) 24 - exception.is_a?(EOFError) 24 + [ 25 + EOFError, 26 + Rack::QueryParser::InvalidParameterError, 27 + ].include?(exception.class) 25 28 end 26 29 27 30 def email(exception, env)