Index: /trunk/BNC/src/bncnetqueryv2.cpp
===================================================================
--- /trunk/BNC/src/bncnetqueryv2.cpp	(revision 9722)
+++ /trunk/BNC/src/bncnetqueryv2.cpp	(revision 9723)
@@ -74,8 +74,15 @@
   if (_reply && _reply->error() != QNetworkReply::NoError) {
     _status = error;
+    if (!_reply->attribute(QNetworkRequest::HttpReasonPhraseAttribute).toByteArray().isEmpty()) {
     emit newMessage(_url.path().toLatin1().replace(0,1,"")  +
                     ": NetQueryV2: server replied: " +
                     _reply->attribute(QNetworkRequest::HttpReasonPhraseAttribute).toByteArray(),
                     true);
+    } else {
+      emit newMessage(_url.path().toLatin1().replace(0,1,"")  +
+                         ": NetQueryV2: server replied: " +
+                         _reply->errorString().toLatin1(),
+                         true);
+    }
   }
   else {
@@ -189,4 +196,7 @@
     _eventLoop->exec();
   }
+  if (!_reply) {
+    return;
+  }
 
   // Check NTRIPv2 error code
@@ -196,4 +206,5 @@
   }
 
+
   // Append Data
   // -----------
@@ -207,5 +218,5 @@
 void bncNetQueryV2::slotSslErrors(QList<QSslError> errors) {
 
-  QString msg = "SSL Error\n";
+  QString msg = "SSL Error: ";
   QSslCertificate cert = _reply->sslConfiguration().peerCertificate();
   if (!cert.isNull() &&
@@ -224,8 +235,8 @@
   }
 
-  QListIterator<QSslError> it(errors); std::cout << "errors.size(): "  << errors.size() << std::endl;
+  QListIterator<QSslError> it(errors);
   while (it.hasNext()) {
     const QSslError& err = it.next();
-    msg += "\n" + err.errorString();
+    msg += err.errorString();
   }
   BNC_CORE->slotMessage(msg.toLatin1(), true);
@@ -233,7 +244,9 @@
   if (_sslIgnoreErrors) {
     _reply->ignoreSslErrors();
+    BNC_CORE->slotMessage("BNC ignores SSL errors as configured", true);
   }
   else {
     stop();
   }
-}
+  return;
+}
