bolshakov / stoplight

:traffic_light: Traffic control for code.
http://bolshakov.github.io/stoplight/
MIT License
384 stars 40 forks source link

Rescues all blacklisted errors #94

Closed zeisler closed 8 years ago

zeisler commented 8 years ago

When blacklisting an error that inherited from Exception Class Stoplight would fail to rescue this error because it only rescues StandardError. The proposed solution is to rescue from any blacklisted_errors, in addition to StandardError.

tfausak commented 8 years ago

:+1: Great find!