Skip to content

Commit

Permalink
(fix) improve error handling for local and remote frida versions
Browse files Browse the repository at this point in the history
  • Loading branch information
leonjza committed Feb 17, 2021
1 parent 1e79aa3 commit 6b7baf8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions objection/console/cli.py
Expand Up @@ -115,6 +115,9 @@ def explore(startup_command: str, quiet: bool, file_commands, startup_script: cl
except (frida.ServerNotRunningError, frida.NotSupportedError) as e:
click.secho('Unable to connect to the frida server: {error}'.format(error=str(e)), fg='red')
return
except frida.ProtocolError as e:
click.secho('Unable to connect to the frida server: {error}'.format(error=str(e)), fg='red')
return

# set the frida agent
state_connection.set_agent(agent=agent)
Expand Down

0 comments on commit 6b7baf8

Please sign in to comment.