Skip to content

Commit

Permalink
terminate
Browse files Browse the repository at this point in the history
  • Loading branch information
fcosantos committed Nov 24, 2023
1 parent 9bac169 commit 5664a92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/livehunt_network_watch.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ async def upload_rulesets(queue):
)
except vt.error.APIError as e:
print(f"Error updating {name}: {e}")
sys.exit(1)

response = await result.json_async()
if response.get("error") is not None:
Expand All @@ -164,6 +165,7 @@ async def upload_rulesets(queue):
)
except vt.error.APIError as e:
print(f"Error saving {name}: {e}")
sys.exit(1)

response = await result.json_async()
if response.get("error") is not None:
Expand Down

0 comments on commit 5664a92

Please sign in to comment.