app/controllers/umlaut/error_handling.rb in umlaut-4.0.1 vs app/controllers/umlaut/error_handling.rb in umlaut-4.0.2
- old
+ new
@@ -34,11 +34,11 @@
end
protected :handle_404_error
def log_error_with_context(exception, severity = :fatal)
message = "\n#{exception.class} (#{exception.message}):\n"
- message << " uri: #{request.fullpath}\n\n"
- message << " params: #{params.inspect}\n\n"
+ message << " uri: #{request.fullpath}\n"
+ message << " params: #{params.inspect}\n"
message << " Referer: #{request.referer}\n" if request.referer
message << " User-Agent: #{request.user_agent}\n"
message << " Client IP: #{request.remote_addr}\n\n"
message << exception.annoted_source_code.to_s if exception.respond_to?(:annoted_source_code)
message << " " << Rails.backtrace_cleaner.clean(exception.backtrace).join("\n ")