统一异常处理

This commit is contained in:
shmilylty
2019-12-10 12:12:44 +08:00
parent 0cafe696a6
commit f5d02d74ef
11 changed files with 35 additions and 35 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ def save_data(fpath, data):
file.write(data)
logger.log('ALERT', fpath)
except Exception as e:
logger.log('ERROR', e)
logger.log('ERROR', e.args)
def check_response(method, resp):