mirror of
https://github.com/truewhile/MeBox.git
synced 2026-09-29 03:26:37 +08:00
43fdfe8202
处理无法播放的问题
11 lines
333 B
Go
11 lines
333 B
Go
package handler
|
|
|
|
import "github.com/ShukeBta/MMTL/internal/service"
|
|
|
|
func finishHTTPTask(task *service.TaskHandle, err error, stage, message string, metrics map[string]int64, details []string) {
|
|
if task == nil {
|
|
return
|
|
}
|
|
task.Finish(err, service.TaskUpdate{Stage: stage, Message: message, Metrics: metrics, Details: details})
|
|
}
|