Converting to structured logging the file app/license.go (#12170)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
995a545411
Коммит
bff8ad995d
@@ -29,7 +29,7 @@ func (a *App) LoadLicense() {
|
|||||||
|
|
||||||
if license != nil {
|
if license != nil {
|
||||||
if _, err = a.SaveLicense(licenseBytes); err != nil {
|
if _, err = a.SaveLicense(licenseBytes); err != nil {
|
||||||
mlog.Info(fmt.Sprintf("Failed to save license key loaded from disk err=%v", err.Error()))
|
mlog.Info("Failed to save license key loaded from disk.", mlog.Err(err))
|
||||||
} else {
|
} else {
|
||||||
licenseId = license.Id
|
licenseId = license.Id
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user