语法
try:
.....
.....
except Exception as e:
logging.exception(e)
return EXCEPTION_RESPONSE
语法
try:
.....
.....
except Exception as e:
logging.exception(e)
return EXCEPTION_RESPONSE
本文标题:python捕获异常
本文链接:https://www.haomeiwen.com/subject/oqxofktx.html
网友评论