lib/thin/connection.rb
# Logs catched exception and closes the connection.
Logs catched exception and closes the connection.
Logs catched exception and closes the connection .
def handle_error
      log "!! Unexpected error while processing request: #{$!.message}"
      log_error
      close_connection rescue nil
    end
def handle_error log "!! Unexpected error while processing request: #{$!.message}" log_error close_connection rescue nil end
Logs catched exception and closes the connection.
Logs catched exception and closes the connection .