From 63092be679396001d9cec40a389d245a7ce3543f Mon Sep 17 00:00:00 2001 From: qhd <1766646056@qq.com> Date: Thu, 25 Jun 2026 11:48:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BF=BD=E7=95=A5=20"download=20failed"?= =?UTF-8?q?=20=E9=94=99=E8=AF=AF=E9=81=BF=E5=85=8D=E8=AF=AF=E5=88=A4?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/task/worker.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/service/task/worker.go b/service/task/worker.go index 12c16c6..9ffca46 100644 --- a/service/task/worker.go +++ b/service/task/worker.go @@ -76,7 +76,8 @@ func (w *asyncWorker) handleOne(ctx context.Context, task *entity.ModelGatewayTa !strings.Contains(err.Error(), "Invalid video_url") && !strings.Contains(err.Error(), "Invalid audio track") && !strings.Contains(err.Error(), "Error while downloading") && - !strings.Contains(err.Error(), "Error while connecting") { + !strings.Contains(err.Error(), "Error while connecting") && + !strings.Contains(err.Error(), "download failed") { w.failTask(ctx, task, startTime, err.Error()) return }