MCPcopy Create free account
hub / github.com/celery/celery / _error_handler

Function _error_handler

celery/events/dumper.py:86–89  ·  view source on GitHub ↗
(exc, interval)

Source from the content-addressed store, hash-verified

84 conn = app.connection_for_read().clone()
85
86 def _error_handler(exc, interval):
87 dumper.say(CONNECTION_ERROR % (
88 conn.as_uri(), exc, humanize_seconds(interval, 'in', ' ')
89 ))
90
91 while 1:
92 try:

Callers

nothing calls this directly

Calls 3

humanize_secondsFunction · 0.90
sayMethod · 0.45
as_uriMethod · 0.45

Tested by

no test coverage detected