瀏覽代碼

谷歌追加打印

peng 1 年之前
父節點
當前提交
1600155421
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Service/PushService.py

+ 2 - 2
Service/PushService.py

@@ -180,10 +180,10 @@ class PushObject:
                                                                      'default_light_settings': True,
                                                                      },
                                                        )
-            LOGGER.info('fcm推送结果:{}'.format(result))
+            LOGGER.info('uid:{},evnet_type:{},time:{},fcm推送结果:{}'.format(uid, event_type, n_time, result))
             return True
         except Exception as e:
-            LOGGER.info('fcm推送异常:{}'.format(repr(e)))
+            LOGGER.info('uid:{},evnet_type:{},time:{},fcm推送异常:{}'.format(uid, event_type, n_time, repr(e)))
             return False
 
     @staticmethod