MCPcopy
hub / github.com/celery/celery / raise_with_context

Function raise_with_context

celery/utils/serialization.py:267–273  ·  view source on GitHub ↗
(exc)

Source from the content-addressed store, hash-verified

265
266
267def raise_with_context(exc):
268 exc_info = sys.exc_info()
269 if not exc_info:
270 raise exc
271 elif exc_info[1] is exc:
272 raise
273 raise exc from exc_info[1]

Callers 3

store_resultMethod · 0.90
get_task_metaMethod · 0.90
retryMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected