fix: prevent refund on video task update error

This commit is contained in:
CaIon
2025-10-16 12:46:07 +08:00
parent b70b4597ce
commit 8511ea0fff

View File

@@ -255,6 +255,7 @@ func updateVideoSingleTask(ctx context.Context, adaptor channel.TaskAdaptor, cha
}
if err := task.Update(); err != nil {
common.SysLog("UpdateVideoTask task error: " + err.Error())
shouldRefund = false
}
if shouldRefund {