We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb46e99 commit 0c88becCopy full SHA for 0c88bec
1 file changed
celery/contrib/testing/manager.py
@@ -215,8 +215,10 @@ def wait_until_idle(self):
215
while True:
216
try:
217
count = control.purge()
218
- except ConnectionResetError:
+ except Exception as e:
219
# test_multiprocess_producer may trigger this exception
220
+ import logging
221
+ logging.getLogger(__name__).warning(str(e), exc_info=e)
222
continue
223
if count == 0:
224
break
@@ -226,9 +228,6 @@ def wait_until_idle(self):
226
228
227
229
230
count = sum(len(t) for t in inspect.active().values())
- # test_multiprocess_producer may trigger this exception
231
- continue
232
except ContentDisallowed:
233
# test_security_task_done may trigger this exception
234
0 commit comments