Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore client disconnect error #6

Open
wants to merge 1 commit into
base: mater
Choose a base branch
from
Open

Conversation

ke4nec
Copy link

@ke4nec ke4nec commented Sep 11, 2020

Hi, When use Ctrl+C to exit connection in shell

The authenticity of host '[192.168.*]:9022 ([192.168*]:9022)' can't be established.
RSA key fingerprint is SHA256:WZOqjuMH4AWzTQ5ZqJT8tQ70GcOtzovA378dNLqKgks.
Are you sure you want to continue connecting (yes/no/[fingerprint])? ^C

client will throw an exception. because the client object doesn't listening to an 'error' event. we can add an listening to ignore this exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant