From 70b645a6c9da5dff1d930aeaabb5aeaedaa4d798 Mon Sep 17 00:00:00 2001 From: "wangwenyan@fangjia.com" Date: Wed, 4 Apr 2018 13:43:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PriceSystem/CalcCmdReceiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PriceSystem/CalcCmdReceiver.py b/PriceSystem/CalcCmdReceiver.py index 0e068a7..0a39af5 100644 --- a/PriceSystem/CalcCmdReceiver.py +++ b/PriceSystem/CalcCmdReceiver.py @@ -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.exception(ex) + logger.error(str(ex)) end_time = time.time() logger.error("Calc ERROR :" + str(cmd) + "\t计算失败,耗时:" + str(end_time - start_time))