Sha256: 9143d5e78ac4b0ebe656dd53510c91e6f9f09c1afdb93786f91efd11de61c2c8
Contents?: true
Size: 387 Bytes
Versions: 2
Compression:
Stored size: 387 Bytes
Contents
require 'action_dispatch/middleware/show_exceptions' module ActionDispatch # This middleware rescues any exception returned by the application and renders # nice exception pages if it's being rescued locally. class ShowExceptions RESCUES_TEMPLATE_PATH = File.join(File.dirname(__FILE__), 'templates') def full_trace(exception) exception.backtrace end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
error-locator-0.0.2 | lib/error-locator/action_dispatch_ext.rb |
error-locator-0.0.1 | lib/error-locator/action_dispatch_ext.rb |