Skip to content
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

chore: Add logger messages for 401 error #423

Merged
merged 3 commits into from
Nov 13, 2018
Merged

chore: Add logger messages for 401 error #423

merged 3 commits into from
Nov 13, 2018

Conversation

impactmass
Copy link
Contributor

Resolves: NA
Impact: minor
Type: chore

Issue

When loading the app after a previous authenticated session and the auth token is expired, the app shows a blank screen. The starterkit server logs shows an error about other failures but not explicit about the 401.

Looking in the browser network tab can help, as the 401 can be seen there.
The Reaction API service logs shows the Bearer token is not active error; but it helps to have it logged here too.

Solution

Add proper logs that reflect the actual problem (pending when automatic refresh is resolved #350)

Testing

@Akarshit adding you as reviewer because you ran into this recently. There's really nothing to test other than confirming that the logged message helps to know the actual issue (and prevents getting stuck).

@impactmass impactmass changed the title chore: Add logger messages for 401 errors chore: Add logger messages for 401 error Nov 8, 2018
@aldeed
Copy link
Contributor

aldeed commented Nov 9, 2018

@impactmass Needs rebase to resolve conflicts now

@impactmass impactmass requested review from nnnnat and removed request for Akarshit November 13, 2018 17:02
@nnnnat nnnnat requested a review from Akarshit November 13, 2018 17:02
@nnnnat nnnnat removed the request for review from Akarshit November 13, 2018 17:03
Copy link
Contributor

@nnnnat nnnnat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nnnnat nnnnat merged commit b6ae873 into develop Nov 13, 2018
@nnnnat nnnnat deleted the add-error-log branch November 13, 2018 22:57
This was referenced Jan 15, 2019
@spencern spencern mentioned this pull request Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable access token refreshing
3 participants