Преглед изворни кода

华为推送异常打印优化

linhaohong пре 7 месеци
родитељ
комит
d20580797b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Service/HuaweiPushService/HuaweiPushService.py

+ 1 - 1
Service/HuaweiPushService/HuaweiPushService.py

@@ -104,7 +104,7 @@ class HuaweiPushObject:
             assert (response.code == '80000000')
             return True
         except Exception as e:
-            LOGGER.info('华为通知推送异常: {}'.format(repr(e)))
+            LOGGER.error('uid:{}, 华为通知推送异常: {}'.format(uid ,repr(e)))
             return False
 
     @staticmethod