Skip to content

Commit

Permalink
Re-add handling of frida.NotSupportedError.
Browse files Browse the repository at this point in the history
  • Loading branch information
leonjza committed Aug 14, 2019
1 parent a1bbf4f commit 394b986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objection/console/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def explore(startup_command: str, quiet: bool, file_commands, startup_script: cl

try:
agent.inject()
except frida.ServerNotRunningError as e:
except (frida.ServerNotRunningError, frida.NotSupportedError) as e:
click.secho('Unable to connect to the frida server: {error}'.format(error=str(e)), fg='red')
return

Expand Down

0 comments on commit 394b986

Please sign in to comment.