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

新增NVR过滤消息推送类型

zhangdongming 9 сар өмнө
parent
commit
c9c8cfcf67

+ 2 - 1
Service/PushService.py

@@ -390,7 +390,8 @@ class PushObject:
                 PushObject.jpush_transparent_transmission(msg_title, msg_text, app_bundle_id, jg_token_val, push_data)
             return True
         except Exception as e:
-            LOGGER.info('vivo推送异常:{}'.format(e))
+            LOGGER.error('vivo推送异常,uid:{},error_line:{},error_msg:{}'.
+                         format(uid, e.__traceback__.tb_lineno, repr(e)))
             return False
 
     @staticmethod