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

Method LogFailedWithErr

agent/app/task/task.go:347–349  ·  view source on GitHub ↗
(msg string, err error)

Source from the content-addressed store, hash-verified

345}
346
347func (t *Task) LogFailedWithErr(msg string, err error) {
348 t.Logger.Printf("%s %s : %s", msg, i18n.GetMsgByKey("Failed"), err.Error())
349}
350
351func (t *Task) LogSuccess(msg string) {
352 t.Logger.Println(msg + " " + i18n.GetMsgByKey("Success"))

Callers 15

pullComposeImagesFunction · 0.45
handleWebsiteRecoverFunction · 0.45
recoverWebsiteDatabaseFunction · 0.45
recoverAppDataFunction · 0.45
restartComposeFunction · 0.45
handleCleanLogMethod · 0.45
handleCutWebsiteLogMethod · 0.45
handleAppRecoverFunction · 0.45
deleteAppInstallFunction · 0.45
upgradeInstallFunction · 0.45

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected