Changed error message

pull/26/head
Sheng 2018-08-18 19:41:36 +08:00
parent 20449d03ad
commit 614d6e8a5b
1 changed files with 1 additions and 1 deletions

View File

@ -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.')