ソースを参照

追加极光透传日志

peng 1 年間 前
コミット
8effe7b1d8
1 ファイル変更2 行追加0 行削除
  1. 2 0
      Service/PushService.py

+ 2 - 0
Service/PushService.py

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