Use error level for JWT parsing error logs (#1026)

This commit is contained in:
Maycon Santos
2023-07-22 17:56:27 +02:00
committed by GitHub
parent 97b6e79809
commit 2541c78dd0
2 changed files with 2 additions and 2 deletions

View File

@@ -155,7 +155,7 @@ func (m *JWTValidator) ValidateAndParse(token string) (*jwt.Token, error) {
// Check if there was an error in parsing...
if err != nil {
log.Debugf("error parsing token: %v", err)
log.Errorf("error parsing token: %v", err)
return nil, fmt.Errorf("Error parsing token: %w", err)
}