lib/falcon/adapters/rack.rb in falcon-0.24.0 vs lib/falcon/adapters/rack.rb in falcon-0.25.0
- old
+ new
@@ -198,10 +198,10 @@
# return nil
# end
return make_response(request, status, headers, body)
rescue => exception
- @logger.error "#{exception.class}: #{exception.message}\n\t#{$!.backtrace.join("\n\t")}"
+ @logger.error(self) {exception}
return failure_response(exception)
end
def failure_response(exception)