mirror of
https://github.com/hyugogirubato/KeyDive.git
synced 2025-04-30 12:34:25 +02:00
Support frida server running error
This commit is contained in:
parent
d6c5c6d148
commit
a2f185ede1
@ -203,6 +203,8 @@ class Core:
|
||||
"""
|
||||
try:
|
||||
session: Session = self.device.attach(pid, persist_timeout=timeout)
|
||||
except frida.ServerNotRunningError as e:
|
||||
raise EnvironmentError('Frida server is not running') from e
|
||||
except Exception as e:
|
||||
self.logger.error(e)
|
||||
return False
|
||||
|
Loading…
x
Reference in New Issue
Block a user