Преглед на файлове

华为推送异常打印优化

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