lib/crash_log/rack.rb in crashlog-1.0.3 vs lib/crash_log/rack.rb in crashlog-1.0.4
- old
+ new
@@ -28,15 +28,15 @@
def call(env)
begin
response = @app.call(env)
rescue Exception => exception
- CrashLog.notify(exception, :rack_env => env)
+ CrashLog.notify_or_ignore(exception, :rack_env => env)
raise
end
if env['rack.exception']
- CrashLog.notify(env['rack.exception'], :rack_env => env)
+ CrashLog.notify_or_ignore(env['rack.exception'], :rack_env => env)
end
response
end
end