Skip to content

Commit

Permalink
add token to debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
justefg committed Nov 27, 2020
1 parent 143b0f8 commit 82a5e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/usecase/usecase.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ func (a *AuthUseCase) parseToken(tokenString string) (*jwt.Token, error) {
})

if err != nil {
log.Debug().Msgf("Token parse error: %s", err.Error())
log.Debug().Msgf("Token parse error: %s, token: %s", err.Error(), tokenString)
return nil, auth.ErrCannotParseToken
}

Expand Down

0 comments on commit 82a5e63

Please sign in to comment.