Skip to content

Commit

Permalink
Merge e13459e into a7858f6
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaensch committed Oct 25, 2020
2 parents a7858f6 + e13459e commit d8dbb5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bravado/http_future.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ def wrapper(self, *args, **kwargs):

try:
return func(self, *args, **kwargs)
except timeout_errors as exception:
self.future._raise_timeout_error(exception)
except connection_errors as exception:
self.future._raise_connection_error(exception)
except timeout_errors as exception:
self.future._raise_timeout_error(exception)

return typing.cast(F, wrapper)

Expand Down

0 comments on commit d8dbb5e

Please sign in to comment.