Skip to content

Commit

Permalink
Remove sys.exit() that breaks the promote endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejvelichkovski committed Dec 1, 2023
1 parent 8a08727 commit b20f259
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/test_observer/external_apis/snapcraft.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def get_channel_map_from_snapcraft(arch: str, snapstore: str, snap_name: str):
json_resp = req.json()
if not req.ok:
logger.error(json_resp["error-list"][0]["message"])
sys.exit(1)

snap_info = SnapInfo(**rename_keys(json_resp))
return snap_info.channel_map

0 comments on commit b20f259

Please sign in to comment.