Skip to content

Commit

Permalink
Use err instead of EnvironmentError in target remote posthook
Browse files Browse the repository at this point in the history
  • Loading branch information
ValekoZ committed Jan 12, 2024
1 parent b694a81 commit bbbdbc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gef.py
Original file line number Diff line number Diff line change
Expand Up @@ -11288,7 +11288,7 @@ def target_remote_posthook():

gef.session.remote = GefRemoteSessionManager("", 0)
if not gef.session.remote.setup():
raise EnvironmentError(f"Failed to create a proper environment for {gef.session.remote}")
err(f"Failed to create a proper environment for {gef.session.remote}")

if __name__ == "__main__":
if sys.version_info[0] == 2:
Expand Down

0 comments on commit bbbdbc6

Please sign in to comment.