lib/timber/integrations/rack/exception_event.rb in timber-2.1.0.rc2 vs lib/timber/integrations/rack/exception_event.rb in timber-2.1.0.rc3
- old
+ new
@@ -1,10 +1,16 @@
begin
+ # Rails 3.2 requires you to require all of Rails before requiring
+ # the exception wrapper.
+ require "rails"
require "action_dispatch/middleware/exception_wrapper"
rescue Exception
end
+require "timber/config"
+require "timber/events/exception"
require "timber/integrations/rack/middleware"
+require "timber/util"
module Timber
module Integrations
module Rack
# A Rack middleware that is reponsible for capturing exceptions events
\ No newline at end of file