-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auth@edge: fix refreshauth error handling (#458)
Previous "break" statement would cause None to be returned by the function, which refreshauth did not expect. Changing it to raise pushes the error into refresh auth so it can invalidate the token as expected. parseauth also uses this shared function, and this should also help avoid unexpected error handling in it. Cosmetically, removed the traceback logging from the http method because it didn't show anything farther up the stack than the http_post_with_retry method (just request/urllib spam)
- Loading branch information
Showing
2 changed files
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters