lib/bugsnag/rack.rb in bugsnag-2.7.1 vs lib/bugsnag/rack.rb in bugsnag-2.8.0

- old
+ new

@@ -1,10 +1,5 @@ -require "bugsnag/middleware/rack_request" -require "bugsnag/middleware/warden_user" -require "bugsnag/middleware/callbacks" -require "bugsnag/middleware/rails3_request" - module Bugsnag class Rack def initialize(app) @app = app @@ -44,10 +39,10 @@ # Notify bugsnag of rack exceptions if env["rack.exception"] Bugsnag.auto_notify(env["rack.exception"]) end - + response ensure # Clear per-request data after processing the each request Bugsnag.clear_request_data end