config/cmd: don't fatally error if auth account cannot be generated (#1824)

This commit is contained in:
ben-toogood
2020-07-13 12:52:54 +01:00
committed by GitHub
parent 7355455020
commit 2e04fcd718
2 changed files with 6 additions and 2 deletions

View File

@@ -25,7 +25,9 @@ func Verify(a auth.Auth) error {
if err != nil {
return err
}
logger.Debugf("Auth [%v] Generated an auth account", a.String())
if logger.V(logger.DebugLevel, logger.DefaultLogger) {
logger.Debugf("Auth [%v] Generated an auth account", a.String())
}
accID = acc.ID
accSecret = acc.Secret