Beispiel #1
0
 def decorator(*args, **kwargs):
     try:
         return f(*args, **kwargs)
     except Exception:
         var = traceback.format_exc()
         return error(var)
Beispiel #2
0
 def decorator(*args, **kwargs):
     try:
         return f(*args, **kwargs)
     except Exception:
         var = traceback.format_exc()
         return error(var)