Woops, fix missing `api_url` ref in error log

nix-headless-fix
Tyler Goodlet 2024-05-24 12:24:25 -04:00
parent 44b8c70521
commit 37ca081555
1 changed files with 1 additions and 0 deletions

View File

@ -308,6 +308,7 @@ class Client:
if data := json.get('data'): if data := json.get('data'):
return data return data
else: else:
api_url: str = self._http.base_url
log.error( log.error(
f'Error making request to {api_url} ->\n' f'Error making request to {api_url} ->\n'
f'{pformat(res)}' f'{pformat(res)}'