lib/web_console/interceptor.rb in web-console-4.2.0 vs lib/web_console/interceptor.rb in web-console-4.2.1

- old
+ new

@@ -1,9 +1,8 @@ module WebConsole module Interceptor - def self.call(request, exception) + def self.call(request, error) backtrace_cleaner = request.get_header("action_dispatch.backtrace_cleaner") - error = ActionDispatch::ExceptionWrapper.new(backtrace_cleaner, exception).exception # Get the original exception if ExceptionWrapper decides to follow it. Thread.current[:__web_console_exception] = error # ActionView::Template::Error bypass ExceptionWrapper original