setup: Improve error-handling

This commit is contained in:
Ole André Vadla Ravnås committed 2022-01-24 14:33:58 +01:00
1 parent 86358c948c
commit 295b57a1ba
1 file changed
+4 -1
+4 -1
View File
@@ -107,7 +107,10 @@ class FridaPrebuiltExt(build_ext):
try:
with open(egg_path, "rb") as cache:
egg_data = cache.read()
except IOError as e:
except:
egg_data = None
if egg_data is None:
print("prebuilt extension not found in home directory, will try downloading it")
print("querying pypi for available prebuilds")