chore: change Msgf to Msg (#920)

Change "logger.Error().Msgf(errMsg)" to "logger.Error().Msg(errMsg)"
This commit is contained in:
Lex.Chen 2025-01-21 16:30:21 +08:00 committed by GitHub
parent 96d8ebeb20
commit 0a7aad7459
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -33,6 +33,6 @@ func Panicf(format string, args ...interface{}) {
}
errMsg += fmt.Sprintf("\n\t\t\t%v -> %n()", frameStr, frame)
}
logger.Error().Msgf(errMsg)
logger.Error().Msg(errMsg)
os.Exit(1)
}