class method
self.log_failsafe_exception
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3 PrivateSignature
self.log_failsafe_exception(status, exception)
No documentation comment.
Parameters
-
statusreq -
exceptionreq
Source
# File actionpack/lib/action_controller/dispatcher.rb, line 84
def log_failsafe_exception(status, exception)
message = "/!\\ FAILSAFE /!\\ #{Time.now}\n Status: #{status}\n"
message << " #{exception}\n #{exception.backtrace.join("\n ")}" if exception
failsafe_logger.fatal message
end
Defined in actionpack/lib/action_controller/dispatcher.rb line 84
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Dispatcher