Browse Source

新增NVR过滤消息推送类型

zhangdongming 9 months ago
parent
commit
c9c8cfcf67
1 changed files with 2 additions and 1 deletions
  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