quickstep-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jianq...@apache.org
Subject [2/2] incubator-quickstep git commit: Client exit with -1 on RPC failure
Date Mon, 28 May 2018 01:15:11 GMT
Client exit with -1 on RPC failure


Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/bfe32cd7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/bfe32cd7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/bfe32cd7

Branch: refs/heads/trace
Commit: bfe32cd70f8593f319295613fec1465a999c49aa
Parents: d435500
Author: Jianqiao Zhu <jianqiao@cs.wisc.edu>
Authored: Sun May 27 20:14:43 2018 -0500
Committer: Jianqiao Zhu <jianqiao@cs.wisc.edu>
Committed: Sun May 27 20:14:43 2018 -0500

----------------------------------------------------------------------
 cli/NetworkCliClient.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/bfe32cd7/cli/NetworkCliClient.hpp
----------------------------------------------------------------------
diff --git a/cli/NetworkCliClient.hpp b/cli/NetworkCliClient.hpp
index 5c11cb2..f3693f4 100644
--- a/cli/NetworkCliClient.hpp
+++ b/cli/NetworkCliClient.hpp
@@ -66,7 +66,7 @@ class NetworkCliClient {
     } else {
       std::cout << "RPC call failed with code " << status.error_code()
                 << " and message: " << status.error_message() << "\n";
-      return "RPC failed";
+      std::exit(-1);
     }
   }
 


Mime
View raw message