Closed omartell closed 9 years ago
It might also be worth rescuing Errno::TIMEDOUT
.
If we switch to the API in #3, we could rescue all descendants of StandardError
rather than having to play whack a mole with the various exception types that could be raised by Net::HTTP
.
Makes sense, let's not get into exceptions "guacamole".
On Wed, Apr 22, 2015 at 7:55 PM, Paul Mucur notifications@github.com wrote:
If we switch to the API in #3, we could rescue all descendants of
StandardError
rather than having to play whack a mole with the various exception types that could be raised byNet::HTTP
.Reply to this email directly or view it on GitHub: https://github.com/altmetric/embiggen/issues/5#issuecomment-95301829
Fixed in 0.1.1.
As embiggen handles
Timeout::Error
andErrno::ECONNRESET
, was wondering if it should also handleErrno::EHOSTUNREACH
and return the original URL.