mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-27 10:55:51 +08:00
统一异常处理
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user