File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
redis-desktop-manager/source Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -151,8 +151,9 @@ void MainWin::OnConnectionTreeClick(const QModelIndex & index)
151151 connections->updateFilter ();
152152 loadingInProgress = false ;
153153
154- if (!connected) {
155- QMessageBox::warning (this , " Can't connect to server" , " Can't connect to server. Check connection settings" );
154+ if (!connected) {
155+ QMessageBox::warning (this , " Can't connect to server" ,
156+ QString (" Check connection settings \n Error: %1" ).arg (server->getConnection ()->getLastError ()));
156157 }
157158 }
158159 break ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ int main(int argc, char *argv[])
66 QApplication a (argc, argv);
77
88 QApplication::setApplicationName (" Redis Desktop Manager" );
9- QApplication::setApplicationVersion (" 0.5.1 " );
9+ QApplication::setApplicationVersion (" 0.5.2 " );
1010 QApplication::setOrganizationDomain (" redisdesktop.com" );
1111
1212 MainWin w;
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ void RedisConnectionOverSsh::OnSocketReadyRead()
112112QString RedisConnectionOverSsh::getLastError ()
113113{
114114 if (socket == NULL ) {
115- return QString (" Error with ssh connection" );
115+ return QString (" SSH connection error " );
116116 }
117117
118118 return socket->errorString ();
You can’t perform that action at this time.
0 commit comments