diff options
author | Yuki Nishijima <mail@yukinishijima.net> | 2014-09-13 16:54:20 -0700 |
---|---|---|
committer | Yuki Nishijima <mail@yukinishijima.net> | 2014-09-13 16:54:20 -0700 |
commit | 75eaefcc2f7c7526be389702c4802a73d4d934e9 (patch) | |
tree | 84f03a1da20d174e8d884f083ea3762697d123f4 /guides/source | |
parent | 516f431ab0618a052f53eb5b14e2c6204da244dd (diff) | |
download | rails-75eaefcc2f7c7526be389702c4802a73d4d934e9.tar.gz rails-75eaefcc2f7c7526be389702c4802a73d4d934e9.tar.bz2 rails-75eaefcc2f7c7526be389702c4802a73d4d934e9.zip |
Rescue Rack::Utils::ParameterTypeError instead of TypeError
As of rack/rack@167b6480235ff00ed5f355698bf00ec2f250f72e, Rack raises
Rack::Utils::ParameterTypeError which inherits TypeError.
In terms of the behavior, Rescuing TypeError still works but this
method shouldn't rescue if TypeError is raised for other reasons.
Diffstat (limited to 'guides/source')
0 files changed, 0 insertions, 0 deletions