app: fix error

This commit is contained in:
Swapnil 2024-01-30 21:46:20 +05:30
parent 20423379a2
commit 8fd838ce23
Signed by: swapnil
GPG Key ID: 58029C48BB100574

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__':