MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / LogFailed

Method LogFailed

agent/app/task/task.go:343–345  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

341}
342
343func (t *Task) LogFailed(msg string) {
344 t.Logger.Println(msg + i18n.GetMsgByKey("Failed"))
345}
346
347func (t *Task) LogFailedWithErr(msg string, err error) {
348 t.Logger.Printf("%s %s : %s", msg, i18n.GetMsgByKey("Failed"), err.Error())

Callers 1

uploadWithMapFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected