mirror of
https://github.com/frida/frida-python.git
synced 2026-11-07 09:35:57 -10:00
setup: Improve error-handling
This commit is contained in:
1 parent
86358c948c
commit
295b57a1ba
1 file changed
+4
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user