aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2016-02-09 13:34:44 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2016-02-09 13:34:44 -0800
commitb2a9047558e20e35681eae8d47ad7a95c3e1d19e (patch)
tree5b421aa91ce551ed53894a00937deebc642333ee
parentd5c6babd9e139deed5d43c35a41b2af5d73376ba (diff)
downloadrails-b2a9047558e20e35681eae8d47ad7a95c3e1d19e.tar.gz
rails-b2a9047558e20e35681eae8d47ad7a95c3e1d19e.tar.bz2
rails-b2a9047558e20e35681eae8d47ad7a95c3e1d19e.zip
Request#fullpath should not raise an exception, so remove the rescue
-rw-r--r--actionpack/lib/action_controller/metal/instrumentation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/instrumentation.rb b/actionpack/lib/action_controller/metal/instrumentation.rb
index f66e3efffe..bf74b39ac4 100644
--- a/actionpack/lib/action_controller/metal/instrumentation.rb
+++ b/actionpack/lib/action_controller/metal/instrumentation.rb
@@ -21,7 +21,7 @@ module ActionController
:params => request.filtered_parameters,
:format => request.format.ref,
:method => request.request_method,
- :path => (request.fullpath rescue "unknown")
+ :path => request.fullpath
}
ActiveSupport::Notifications.instrument("start_processing.action_controller", raw_payload.dup)