MCPcopy Create free account
hub / github.com/dianping/cat / wraps

Function wraps

lib/python/test/test_trans.py:13–17  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

11
12def ignore_exception(func):
13 def wraps(*args, **kwargs):
14 try:
15 return func(*args, **kwargs)
16 except Exception:
17 pass
18 return wraps
19
20

Callers

nothing calls this directly

Calls 1

funcFunction · 0.70

Tested by

no test coverage detected