test/unit/peddler/errors/test_handler.rb in peddler-1.6.2 vs test/unit/peddler/errors/test_handler.rb in peddler-1.6.3

- old
+ new

@@ -2,10 +2,10 @@ require 'peddler/errors/handler' class TestPeddlerErrorsHandler < MiniTest::Test def setup @error = Peddler::Errors::Handler.call(@cause) - rescue => @error + rescue StandardError => @error end class CausedByHTTPStatusError < TestPeddlerErrorsHandler def setup @code = 'FeedProcessingResultNotReady'