MCPcopy Create free account
hub / github.com/GerevAI/gerev / wrapper

Function wrapper

app/data_source/api/utils.py:20–25  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

18
19def _wrap_with_try_except(func):
20 def wrapper(*args, **kwargs):
21 try:
22 return func(*args, **kwargs)
23 except Exception as e:
24 logger.exception("Failed to parse data source", exc_info=e)
25 raise e
26
27 return wrapper
28

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected