get info add decorator info_error
This commit is contained in:
parent
b0ded72f19
commit
0a9544ef52
@ -25,7 +25,7 @@ def info_error(func):
|
|||||||
try:
|
try:
|
||||||
return func(*args, **kwargs)
|
return func(*args, **kwargs)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"error9999: {e}")
|
print(f"info_error: {e}")
|
||||||
return "None"
|
return "None"
|
||||||
|
|
||||||
return wrapper
|
return wrapper
|
||||||
|
Loading…
Reference in New Issue
Block a user