소스 검색

华为推送异常打印优化

linhaohong 8 달 전
부모
커밋
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