Browse Source

增加异常信息

zhangyong 6 months ago
parent
commit
edf71dfad1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      video_rewriting/video_processor.py

+ 1 - 1
video_rewriting/video_processor.py

@@ -409,7 +409,7 @@ class VideoProcessor:
                         time.sleep(0.5)
                         time.sleep(0.5)
                         Feishu.update_values("ILb4sa0LahddRktnRipcu2vQnLb", sheet, "A2:Z2", values)
                         Feishu.update_values("ILb4sa0LahddRktnRipcu2vQnLb", sheet, "A2:Z2", values)
             except Exception as e:
             except Exception as e:
-                AliyunLogger.logging(channel_id, name, url, video["video_id"], "改造失败", "3001", log_data)
+                AliyunLogger.logging(channel_id, name, url, video["video_id"], f"改造失败:{e}", "3001", log_data)
                 Common.logger(mark).error(f"{name}的{task_mark}任务处理失败:{e}")
                 Common.logger(mark).error(f"{name}的{task_mark}任务处理失败:{e}")
                 continue
                 continue