瀏覽代碼

新增NVR过滤消息推送类型

zhangdongming 9 月之前
父節點
當前提交
c9c8cfcf67
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Service/PushService.py

+ 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