Skip to content

Commit f728697

Browse files
Ask Solemask
authored andcommitted
celeryev crashed when the terminal window was resized. Closes celery#160
1 parent c02cb57 commit f728697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

celery/bin/celeryev.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ def eventtop():
471471
while True:
472472
try:
473473
conn.connection.drain_events()
474-
except socket.timeout:
474+
except (socket.timeout, socket.error):
475475
pass
476476
except Exception:
477477
refresher.shutdown = True

0 commit comments

Comments
 (0)