Merge branch 'main' into inbox-refactor
This commit is contained in:
commit
cad19ee878
58 changed files with 472 additions and 317 deletions
|
@ -216,11 +216,7 @@ def get_data(url):
|
|||
raise ConnectorException()
|
||||
|
||||
if not resp.ok:
|
||||
try:
|
||||
resp.raise_for_status()
|
||||
except requests.exceptions.HTTPError as e:
|
||||
logger.exception(e)
|
||||
raise ConnectorException()
|
||||
raise ConnectorException()
|
||||
try:
|
||||
data = resp.json()
|
||||
except ValueError as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue