Эх сурвалжийг харах

消息开关加异常日志

zhangdongming 10 сар өмнө
parent
commit
ff6928c3b1

+ 1 - 0
Controller/DetectControllerV2.py

@@ -304,6 +304,7 @@ class DetectControllerViewV2(View):
             else:
                 return response.json(173)
         except Exception as e:
+            LOGGER.info('消息推送设置error,uid:{},line:{},msg:{}'.format(uid, e.__traceback__.tb_lineno, repr(e)))
             return response.json(500, 'error_line:{}, error_msg:{}'.format(e.__traceback__.tb_lineno, repr(e)))
 
     def do_delete_redis(self, uid, detect_interval=0):