forked from qt-creator/qt-creator
SSH: Print more helpful error message on key decoding error.
The botan exception string doesn't help anybody. Change-Id: I81b8b837b0cf3406a8293cbf85b8fd1bff9bfa74 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -640,11 +640,6 @@ void SshConnectionPrivate::connectToHost()
|
||||
m_errorString = ex.errorString;
|
||||
emit error(m_error);
|
||||
return;
|
||||
} catch (const Botan::Exception &ex) {
|
||||
m_error = SshKeyFileError;
|
||||
m_errorString = QString::fromAscii(ex.what());
|
||||
emit error(m_error);
|
||||
return;
|
||||
}
|
||||
|
||||
connect(m_socket, SIGNAL(connected()), this, SLOT(handleSocketConnected()));
|
||||
|
||||
Reference in New Issue
Block a user