Fixes tests
This commit is contained in:
parent
09f5218f9c
commit
3545085a7d
4 changed files with 5 additions and 13 deletions
|
@ -267,7 +267,7 @@ def get_data(url, params=None, timeout=10):
|
|||
raise ConnectorException(err)
|
||||
|
||||
if not resp.ok:
|
||||
raise ConnectorException(resp.err)
|
||||
raise ConnectorException()
|
||||
try:
|
||||
data = resp.json()
|
||||
except ValueError as err:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue