Nested errors in Ruby with Exception#cause
It’s a common pattern in Ruby to rescue and exception and re-raise another kind of exception. But the original exception isn’t lost! You can use Exception#cause to grab it. In this post we show you how. - http://blog.honeybadger.io/nested-errors-in-ruby-with-exception-cause/
Post a comment