chore(errors): review all errors in codebase
This commit is contained in:
2
internal/configuration/sources/env/log.go
vendored
2
internal/configuration/sources/env/log.go
vendored
@@ -48,7 +48,7 @@ func parseLogLevel(s string) (level logging.Level, err error) {
|
||||
return logging.LevelError, nil
|
||||
default:
|
||||
return level, fmt.Errorf(
|
||||
"%w: %s: can be one of: debug, info, warning or error",
|
||||
"%w: %q is not valid and can be one of debug, info, warning or error",
|
||||
ErrLogLevelUnknown, s)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user