lib/bugsnag/rack.rb in bugsnag-1.0.3 vs lib/bugsnag/rack.rb in bugsnag-1.0.4

- old
+ new

@@ -6,15 +6,15 @@ def call(env) begin response = @app.call(env) rescue Exception => raised - error_id = Bugsnag.notify(raised, bugsnag_request_data(env)) + Bugsnag.auto_notify(raised, bugsnag_request_data(env)) raise end if env['rack.exception'] - error_id = Bugsnag.notify(env['rack.exception'], bugsnag_request_data(env)) + Bugsnag.auto_notify(env['rack.exception'], bugsnag_request_data(env)) end response end