恢复异常打印
This commit is contained in:
@@ -32,7 +32,7 @@ def worker():
|
||||
end_time = time.time()
|
||||
logger.info("Calc SUC:" + str(cmd) + "\t计算成功,耗时:" + str(end_time - start_time))
|
||||
except BaseException as ex:
|
||||
logger.error(str(ex))
|
||||
logger.exception(ex)
|
||||
end_time = time.time()
|
||||
logger.error("Calc ERROR :" + str(cmd) + "\t计算失败,耗时:" + str(end_time - start_time))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user