You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by ji...@apache.org on 2018/05/28 01:15:11 UTC
[2/2] incubator-quickstep git commit: Client exit with -1 on RPC
failure
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 <ji...@cs.wisc.edu>
Authored: Sun May 27 20:14:43 2018 -0500
Committer: Jianqiao Zhu <ji...@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);
}
}