Sha256: 383cb4070dd46595bae71c904888f7ec7e61f9ef1dca6902db2276e26ffd2548
Contents?: true
Size: 440 Bytes
Versions: 4
Compression:
Stored size: 440 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 self.send(:remove_const, 'RESCUES_TEMPLATE_PATH') RESCUES_TEMPLATE_PATH = File.join(File.dirname(__FILE__), 'templates') def full_trace(exception) exception.backtrace end end end
Version data entries
4 entries across 4 versions & 1 rubygems