lib/routemaster/middleware/error_handling.rb in routemaster-drain-3.6.7 vs lib/routemaster/middleware/error_handling.rb in routemaster-drain-3.6.8

- old
+ new

@@ -14,9 +14,10 @@ (410..410) => Errors::ResourceGone, (412..412) => Errors::IncompatibleVersion, (413..413) => Errors::InvalidResource, (429..429) => Errors::ResourceThrottling, (407..500) => Errors::FatalResource, + (502..502) => Errors::BadGateway, (503..503) => Errors::ServiceNotAvailable }.freeze def on_complete(env) ERRORS_MAPPING.each do |range, error_class|