mirror of
https://github.com/huashengdun/webssh.git
synced 2026-08-21 13:16:36 +00:00
Changed error message
This commit is contained in:
+1
-1
@@ -159,7 +159,7 @@ class IndexHandler(MixinHandler, tornado.web.RequestHandler):
|
||||
except socket.error:
|
||||
raise ValueError('Unable to connect to {}:{}'.format(*dst_addr))
|
||||
except paramiko.BadAuthenticationType:
|
||||
raise ValueError('SSH authentication failed.')
|
||||
raise ValueError('Authentication failed.')
|
||||
except paramiko.BadHostKeyException:
|
||||
raise ValueError('Bad host key.')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user