Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
267
def
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_result
Method · 0.90
get_task_meta
Method · 0.90
retry
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected