mirror of https://github.com/huashengdun/webssh
Changed error message
parent
20449d03ad
commit
614d6e8a5b
|
@ -159,7 +159,7 @@ class IndexHandler(MixinHandler, tornado.web.RequestHandler):
|
||||||
except socket.error:
|
except socket.error:
|
||||||
raise ValueError('Unable to connect to {}:{}'.format(*dst_addr))
|
raise ValueError('Unable to connect to {}:{}'.format(*dst_addr))
|
||||||
except paramiko.BadAuthenticationType:
|
except paramiko.BadAuthenticationType:
|
||||||
raise ValueError('SSH authentication failed.')
|
raise ValueError('Authentication failed.')
|
||||||
except paramiko.BadHostKeyException:
|
except paramiko.BadHostKeyException:
|
||||||
raise ValueError('Bad host key.')
|
raise ValueError('Bad host key.')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue