    # File lib/phusion_passenger/utils.rb, line 172
            def print_exception(current_location, exception, destination = nil)
                    if !exception.is_a?(SystemExit)
                            data = exception.backtrace_string(current_location)
                            if defined?(DebugLogging) && self.is_a?(DebugLogging)
                                    error(data)
                            else
                                    destination ||= STDERR
                                    destination.puts(data)
                                    destination.flush if destination.respond_to?(:flush)
                            end
                    end
            end