MCPcopy
hub / github.com/celery/celery / on_crash

Method on_crash

celery/utils/threads.py:57–59  ·  view source on GitHub ↗
(self, msg, *fmt, **kwargs)

Source from the content-addressed store, hash-verified

55 raise NotImplementedError()
56
57 def on_crash(self, msg, *fmt, **kwargs):
58 print(msg.format(*fmt), file=sys.stderr)
59 traceback.print_exc(None, sys.stderr)
60
61 def run(self):
62 body = self.body

Callers 1

runMethod · 0.95

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected