-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update tokens
table to fix issue affecting upgrades
#2544
Conversation
Hey irfanhabib! Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA. |
Codecov Report
@@ Coverage Diff @@
## v2-master #2544 +/- ##
==========================================
Coverage 70.42% 70.42%
==========================================
Files 594 594
Lines 25132 25132
Branches 5674 5674
==========================================
Hits 17698 17698
Misses 7434 7434 |
@@ -161,7 +161,7 @@ func (p *PgsqlTokenRepository) FindAuthToken(userGUID string, encryptionKey []by | |||
err := p.db.QueryRow(findAuthToken, userGUID).Scan(&ciphertextAuthToken, &ciphertextRefreshToken, &tokenExpiry) | |||
if err != nil { | |||
msg := "Unable to Find UAA token: %v" | |||
log.Debugf(msg, err) | |||
log.Errorf(msg, err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs to stay Debugf, otherwise verifySession without a valid session logs this every time
- the error handling in this case should be handled a level up in the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Based off #2533
Fixes #2527