Commit 614d6e8a by Sheng

Changed error message

parent 20449d03
...@@ -159,7 +159,7 @@ class IndexHandler(MixinHandler, tornado.web.RequestHandler): ...@@ -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.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment