[X2Go-Commits] [x2goclient] 01/01: don't exit if sending event to http broker is failed.
git-admin at x2go.org
git-admin at x2go.org
Fri Apr 5 14:15:01 CEST 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/kdrive_support
in repository x2goclient.
commit b46c50465ce412e7a05f3d62bd071942bcdff0fb
Author: Oleksandr Shneyder <o.shneyder at phoca-gmbh.de>
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
More information about the x2go-commits
mailing list