Exception: Exception
- Defined in:
- lib/phusion_passenger/utils.rb
Overview
module PhusionPassenger
Instance Method Summary collapse
Instance Method Details
#backtrace_string(current_location = nil) ⇒ Object
866 867 868 869 870 871 872 873 874 875 |
# File 'lib/phusion_passenger/utils.rb', line 866 def backtrace_string(current_location = nil) if current_location.nil? location = nil else location = "in #{current_location} " end return "*** Exception #{self.class} #{location}" << "(#{self}) (process #{$$}, thread #{Thread.current}):\n" << "\tfrom " << backtrace.join("\n\tfrom ") end |