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
449 450 451 452 453 454 455 456 457 458 |
# File 'lib/phusion_passenger/utils.rb', line 449 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 #{$$}):\n" << "\tfrom " << backtrace.join("\n\tfrom ") end |