Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 2039

Show
Ignore:
Timestamp:
08/23/05 09:43:36 (3 years ago)
Author:
minam
Message:

Prevent the benchmark module from blowing up if a non-HTTP/1.1 request is processed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/CHANGELOG

    r2033 r2039  
    11*SVN* 
     2 
     3* Prevent the benchmark module from blowing up if a non-HTTP/1.1 request is processed 
    24 
    35* Added :use_short_month option to select_month helper to show month names as abbreviations 
  • trunk/actionpack/lib/action_controller/benchmarking.rb

    r1915 r2039  
    4343        log_message << rendering_runtime(runtime) if @rendering_runtime 
    4444        log_message << active_record_runtime(runtime) if Object.const_defined?("ActiveRecord") && ActiveRecord::Base.connected? 
    45         log_message << " [#{complete_request_uri}]" 
     45        log_message << " [#{complete_request_uri rescue "unknown"}]" 
    4646        logger.info(log_message) 
    4747      end