Skip to content

Commit 900e825

Browse files
committed
fix: handle exceptions when downloading supporting apps
1 parent c95fb29 commit 900e825

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

setup/patch.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,16 @@ def patching_functions(self):
326326

327327
percentage = 0
328328

329-
self.download_supporting_apps()
329+
try:
330+
self.download_supporting_apps()
331+
except Exception as e:
332+
print(
333+
f"""An exception occured!
334+
Exception:
335+
{e}"""
336+
)
337+
self.error.emit(f"{e}")
338+
330339
percentage += percentage_increment
331340
self.broadcast_percentage.emit(round(percentage))
332341

0 commit comments

Comments
 (0)