diff options
author | Peter Suschlik <ps@neopoly.de> | 2014-08-28 09:09:04 +0200 |
---|---|---|
committer | Peter Suschlik <ps@neopoly.de> | 2014-08-29 09:05:31 +0200 |
commit | a59a9b7f729870de6c9282bd8e2a7ed7f86fc868 (patch) | |
tree | 00501b74c4f518da4db1d736667538037df45e22 /actionmailer/test/message_delivery_test.rb | |
parent | 0cc22f4b86e547880fb8f444b15f19bdb38c7bc9 (diff) | |
download | rails-a59a9b7f729870de6c9282bd8e2a7ed7f86fc868.tar.gz rails-a59a9b7f729870de6c9282bd8e2a7ed7f86fc868.tar.bz2 rails-a59a9b7f729870de6c9282bd8e2a7ed7f86fc868.zip |
Don't rescue IPAddr::InvalidAddressError
IPAddr::InvalidAddressError does not exist in Ruby 1.9.3
and fails for JRuby in 1.9 mode.
As IPAddr::InvalidAddressError is a subclass of ArgumentError
(via IPAddr::Error) just rescuing ArgumentError is fine.
Diffstat (limited to 'actionmailer/test/message_delivery_test.rb')
0 files changed, 0 insertions, 0 deletions