diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-09-08 17:59:40 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-09-28 14:03:18 +0200 |
commit | 45e5cf8dc3ca936e2db8e7e45689d0a3331aad43 (patch) | |
tree | 83f0b13f0fbb6d29862ac91ac0597e1c5c64719e /src/hydrilla/proxy/web_ui/items.py | |
parent | 04853ff19450c5925a7c9bacc11abe90e75f8510 (diff) | |
download | haketilo-hydrilla-45e5cf8dc3ca936e2db8e7e45689d0a3331aad43.tar.gz haketilo-hydrilla-45e5cf8dc3ca936e2db8e7e45689d0a3331aad43.zip |
[proxy] make package auto-installation work
Diffstat (limited to 'src/hydrilla/proxy/web_ui/items.py')
-rw-r--r-- | src/hydrilla/proxy/web_ui/items.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/hydrilla/proxy/web_ui/items.py b/src/hydrilla/proxy/web_ui/items.py index 1a56d7d..a7e497b 100644 --- a/src/hydrilla/proxy/web_ui/items.py +++ b/src/hydrilla/proxy/web_ui/items.py @@ -238,6 +238,12 @@ def alter_item_version(item_version_id: str, item_type: item_infos.ItemType) \ return show_item_version(item_version_id, item_type) else: raise ValueError() + except st.RepoCommunicationError: + return show_item_version( + item_version_id = item_version_id, + item_type = item_type, + errors = {'repo_communication_error': True} + ) except st.FileInstallationError: return show_item_version( item_version_id = item_version_id, |