|
@@ -661,6 +661,11 @@ class AiUpCreativeByHour(tornado.web.RequestHandler):
|
|
|
logger.info("account_id=%s, 按小时补充创意: 没有成功获取到视频!" % account_id)
|
|
|
self.write(json.dumps({"message": "account_id=%s, 按小时补充创意: 没有成功获取到视频!" % account_id}))
|
|
|
self.flush()
|
|
|
+ else:
|
|
|
+ logger.info("account_id=%s, 按小时补充创意: 不需要补充!" % account_id)
|
|
|
+ self.write(json.dumps({"message": "account_id=%s, 按小时补充创意: 不需要补充!" % account_id}))
|
|
|
+ self.flush()
|
|
|
+
|
|
|
except Exception:
|
|
|
logger.error("account_id = %s, traceback is %s" % (account_id, traceback.format_exc()))
|
|
|
self.write(json.dumps({"account_id": account_id, "message": traceback.format_exc(), "code": -1}))
|