Skip to content

Commit

Permalink
Add auth logging
Browse files Browse the repository at this point in the history
Co-authored-by: george <george.haff@gmail.com>
  • Loading branch information
rzats and melange396 committed Apr 25, 2024
1 parent 4f3370e commit aaff161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/delphi_epidata.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def _request_with_retry(endpoint, params={}):
"""Make request with a retry if an exception is thrown."""
request_url = f"{Epidata.BASE_URL}/{endpoint}/"
if Epidata.debug:
Epidata.logger.info("Sending GET request", url=request_url, params=params, headers=_HEADERS)
Epidata.logger.info("Sending GET request", url=request_url, params=params, headers=_HEADERS, auth=Epidata.auth)
if Epidata.sandbox:
resp = requests.Response()
resp._content = b'true'
Expand Down

0 comments on commit aaff161

Please sign in to comment.