diff options
author | Alberto Fernández Capel <alberto.fernandez-capel@overleaf.com> | 2018-01-04 11:27:14 +0000 |
---|---|---|
committer | Alberto F. Capel <afcapel@gmail.com> | 2019-05-28 20:39:10 +0100 |
commit | c8f4c53d55762010496cf801cf1ec726e35d75df (patch) | |
tree | 2d1231b2bfb15d3a80c6b5ef11e7712288f5f270 /actionpack/CHANGELOG.md | |
parent | f47be7bd96827af9f0b9b165666c6626cefc008f (diff) | |
download | rails-c8f4c53d55762010496cf801cf1ec726e35d75df.tar.gz rails-c8f4c53d55762010496cf801cf1ec726e35d75df.tar.bz2 rails-c8f4c53d55762010496cf801cf1ec726e35d75df.zip |
Reduce log noise handling ActionController::RoutingErrors
Each time a missing route is hit 32 lines of internal rails traces
are written to the log. This is overly verbose and doesn't offer
any actionable information to the user.
With this change we'll still write an error message showing the
route error but the trace will be omitted.
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r-- | actionpack/CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 4bcf313ecc..9a631f8f86 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,7 @@ +* Reduced log noise handling ActionController::RoutingErrors. + + *Alberto Fernández-Capel* + * Keep part when scope option has value When a route was defined within an optional scope, if that route didn't |