寻息日志记录
This commit is contained in:
parent
a3ce727d74
commit
356478dedf
|
|
@ -104,7 +104,7 @@ class XxClient:
|
||||||
if raise_exception:
|
if raise_exception:
|
||||||
raise ParseError(**err_detail)
|
raise ParseError(**err_detail)
|
||||||
return 'fail', err_detail
|
return 'fail', err_detail
|
||||||
self.handle_log(result='success', response=None)
|
self.handle_log(result='success', response=ret)
|
||||||
return 'success', ret['data']
|
return 'success', ret['data']
|
||||||
self.handle_log(result='error', errors=traceback.format_exc())
|
self.handle_log(result='error', errors=traceback.format_exc())
|
||||||
if raise_exception:
|
if raise_exception:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue