app: fix error

This commit is contained in:
Swapnil 2024-01-30 21:46:20 +05:30
parent 9ed80f6b4d
commit ca0fc6e866
Signed by: swapnil
GPG Key ID: 58029C48BB100574
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ def raise_for_status(response):
try:
msg = response.json().get('error', '')
except:
pass
msg = response.text
raise Exception(f'HTTPError: {response.status_code} \n Message: {msg}')
if __name__ == '__main__':