Skip to content

Commit

Permalink
sslerror->oserror haigha
Browse files Browse the repository at this point in the history
  • Loading branch information
alexk4153 committed Jul 29, 2024
1 parent c28081b commit 70d1843
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion haigha2/transports/eventlet_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ def recv(self, *args, **kwargs):
try:
return super(FixedGreenSSLSocket, self).recv(*args, **kwargs)
except timeout_exc as e:
if e.msg == 'timed out':
# GC-89692 -> e has no attribute 'msg'
if isinstance(e, socket.timeout) :
raise socket.timeout('timed out')
raise

Expand Down

0 comments on commit 70d1843

Please sign in to comment.