Переглянути джерело

华为推送异常打印优化

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