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

Method on_crash

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

Source from the content-addressed store, hash-verified

110 raise NotImplementedError()
111
112 def on_crash(self, msg, *fmt, **kwargs):
113 print(msg.format(*fmt), file=sys.stderr)
114 traceback.print_exc(None, sys.stderr)
115
116 def run(self):
117 body = self.body

Callers 1

runMethod · 0.95

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected