forked from PeterSurda/inoreader2readwise
app: fix error
This commit is contained in:
parent
20423379a2
commit
8fd838ce23
|
@ -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__':
|
||||
|
|
Loading…
Reference in New Issue
Block a user