mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-25 08:58:26 +00:00
feat(cli): raise error if get entity api fails (#4922)
This commit is contained in:
parent
69466c069c
commit
ec356d3aab
@ -556,6 +556,7 @@ def get_entity(
|
||||
endpoint = endpoint + "?aspects=List(" + ",".join(aspect) + ")"
|
||||
|
||||
response = session.get(gms_host + endpoint)
|
||||
response.raise_for_status()
|
||||
return response.json()
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user