소스 검색

追加极光透传日志

peng 1 년 전
부모
커밋
34ba127254
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Service/PushService.py

+ 2 - 2
Service/PushService.py

@@ -484,7 +484,7 @@ class PushObject:
             push.platform = jpush.all_
             res = push.send()
             assert res.status_code == 200
-            LOGGER.info('极光透传返回结果:{}'.format(res))
+            LOGGER.info('token为{}的极光透传返回结果:{}'.format(token_val, res))
         except Exception as e:
-            LOGGER.info('极光透传返回结果, errLine:{}, errMsg:{}'.format(e.__traceback__.tb_lineno, repr(e)))
+            LOGGER.info('token为{}极光透传返回结果, errLine:{}, errMsg:{}'.format(token_val, e.__traceback__.tb_lineno, repr(e)))
             return repr(e)