This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit 416a233c851d0000b9935c602288f2c8fbc35cfb
Author: Oleksandr Shneyder <[email protected]>
Date:   Fri Apr 5 09:32:00 2019 +0200

    don't exit if sending event to http broker is failed.
---
 src/httpbrokerclient.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/httpbrokerclient.cpp b/src/httpbrokerclient.cpp
index fc2cee3..07986fc 100644
--- a/src/httpbrokerclient.cpp
+++ b/src/httpbrokerclient.cpp
@@ -627,6 +627,11 @@ void HttpBrokerClient::slotRequestFinished ( 
QNetworkReply*  reply )
     if(reply->error() != QNetworkReply::NoError)
     {
         x2goDebug<<"Broker HTTP request failed with error: 
"<<reply->errorString();
+        if(reply == eventRequest)
+        {
+            //do not exit, just return the function
+            return;
+        }
         QMessageBox::critical(0,tr("Error"),reply->errorString());
         emit fatalHttpError();
         return;

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2goclient.git
_______________________________________________
x2go-commits mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to