Skip to content

Commit

Permalink
Update esri_authentication.py
Browse files Browse the repository at this point in the history
Not an error just warn in the log
  • Loading branch information
rmichaelis authored Nov 26, 2024
1 parent 1406e1d commit a5ea508
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def read_request_with_token(url_request, parent_request, log, timeout=15, renew_
# not a token error
raise ESRIServerException(f'Original server error: {resp}')
else:
log.error(f"Token refused in ESRI lib by: {urllib.parse.splitquery(url_request.full_url)[0]} - "
log.warning(f"Token refused in ESRI lib by: {urllib.parse.splitquery(url_request.full_url)[0]} - "
f"server answered {resp['error']}")
if not renew_token:
raise ESRITokenException(f'Original server error: {resp}')
Expand Down

0 comments on commit a5ea508

Please sign in to comment.