fix: prevent refund on video task update error

This commit is contained in:
CaIon
2025-10-16 12:46:07 +08:00
parent 09ff878d88
commit bcf93a2c05

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 {