fix: 修复谷歌统计报错问题
This commit is contained in:
parent
07676e8c5d
commit
896eae92ff
@ -60,7 +60,7 @@ class Analytics:
|
|||||||
|
|
||||||
def send_play_event(self, name, sec):
|
def send_play_event(self, name, sec):
|
||||||
try:
|
try:
|
||||||
self._send_play_event()
|
self._send_play_event(name, sec)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.log.warning(f"analytics send_play_event failed {e}")
|
self.log.warning(f"analytics send_play_event failed {e}")
|
||||||
self.init()
|
self.init()
|
||||||
|
Loading…
Reference in New Issue
Block a user