added notrunc flag

This commit is contained in:
2023-10-16 21:49:53 -05:00
parent 77f520aa31
commit 98a65cdea8
2 changed files with 8 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ func GetAccessToken(c *Config) (string, error) {
log.WithFields(log.Fields{"conf": fmt.Sprintf("%+v", conf)}).Debug()
token, err := conf.PasswordCredentialsToken(context.TODO(), c.Username, c.Password)
if err != nil {
log.Error("Error retrieving AccessToken. Chech configuration, username and password")
log.Error("Error retrieving AccessToken. Check configuration, username and password")
return "", err
}
log.WithFields(log.Fields{"token": fmt.Sprintf("%+v", token.AccessToken)}).Debug()