MCPcopy Create free account
hub / github.com/InternRobotics/G2VLM / wrapper

Function wrapper

eval_code/recons/models/moge/utils3d/_helpers.py:7–12  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

5def suppress_traceback(fn):
6 @wraps(fn)
7 def wrapper(*args, **kwargs):
8 try:
9 return fn(*args, **kwargs)
10 except Exception as e:
11 e.__traceback__ = e.__traceback__.tb_next.tb_next
12 raise
13 return wrapper
14
15

Callers

nothing calls this directly

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected