调整日志
This commit is contained in:
parent
ddc67f7b40
commit
68466a0824
@ -146,6 +146,8 @@ class DispatchHandler(tornado.web.RequestHandler):
|
||||
result = {'errcode': 2, "errmsg": f"get args failed,{str(e)}"}
|
||||
log.error(result)
|
||||
return self.write_error(2)
|
||||
if area == 0 or area == str(0):
|
||||
return self.write({'errcode': 2, "errmsg": f"area != 0 "})
|
||||
if gameid and locationid:
|
||||
key_word = f"ad::{gameid}_*::{channelid}::*::{locationid}"
|
||||
elif gameid and area:
|
||||
|
@ -126,7 +126,7 @@ def produce_task():
|
||||
log.error(f"write {item}", exc_info=True)
|
||||
all.append(item)
|
||||
except Exception:
|
||||
log.error("split data failed", exc_info=True)
|
||||
log.error(f"split data failed,data={line}", exc_info=True)
|
||||
# 检查ID是否存在播放列表中,以及播放次数是否完毕
|
||||
if all:
|
||||
for line in all:
|
||||
|
Loading…
x
Reference in New Issue
Block a user