get info add decorator info_error

This commit is contained in:
xaoyaoo 2024-06-05 13:33:54 +08:00
parent b0ded72f19
commit 0a9544ef52

View File

@ -25,7 +25,7 @@ def info_error(func):
try:
return func(*args, **kwargs)
except Exception as e:
print(f"error9999: {e}")
print(f"info_error: {e}")
return "None"
return wrapper