Skip to content

Commit

Permalink
Added code to log Stratodem API Token for debugging unwhitelisted Tok…
Browse files Browse the repository at this point in the history
…en Error
  • Loading branch information
ovuai-altus committed May 14, 2024
1 parent ab7aa78 commit e21da5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).

## [3.10.4] - 2024-05-14
### Changes
- Added code to log Stratodem API Token for debugging unwhitelisted Token Error

## [3.10.3] - 2024-05-07
### Changes
- Updated Stratodem API Token due to unwhitelisted Token Error
Expand Down
1 change: 1 addition & 0 deletions strato_query/api_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ def _submit_post_request(json_dict: dict,
json_data = r.json()

if not json_data['success']:
print(f'The APIQueryFailed token value is {json_dict["token"]}')
raise APIQueryFailedException(json_data)

return json_data
Expand Down

0 comments on commit e21da5f

Please sign in to comment.