forked from pogodevorg/pgoapi
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug and improve hashing error handling
Prevent returning an un-awaited coroutine when getting code 400 with multiple hash keys, check that the response on 400s is 'Unauthorized' before concluding that the key is expired, move on to the next iteration if receiving code 400 on the first attempt with multiple keys, include response message in 400 responses that don't say Unauthorized, trim hash keys to 10 characters in logs and exceptions to prevent theft.
- Loading branch information
Showing
3 changed files
with
25 additions
and
18 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
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