Browse Source

Debug armitage

Mihawk 12 years ago
parent
commit
2519333afe
1 changed files with 2 additions and 0 deletions
  1. 2 0
      SshClient.cpp

+ 2 - 0
SshClient.cpp

@@ -304,6 +304,7 @@ void SshClient::timerEvent(QTimerEvent *e)
 {
   if(e->timerId() == myConnectionTimerID)
   {
+    myApp->print("Timedout while trying to connect to central...\n");
     disconnectFromHost();
     emit error(ConnectionTimedOutError);
     return;
@@ -311,6 +312,7 @@ void SshClient::timerEvent(QTimerEvent *e)
 
   if(e->timerId() == myPingTimerID)
   {
+    myApp->print("Ping with no pong! Disconnecting from central...\n");
     disconnectFromHost();
     emit error(ConnectionTimedOutError);
     return;