From commits-return-6648-archive-asf-public=cust-asf.ponee.io@quickstep.incubator.apache.org Mon May 28 03:15:17 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 11F19180663 for ; Mon, 28 May 2018 03:15:16 +0200 (CEST) Received: (qmail 76434 invoked by uid 500); 28 May 2018 01:15:16 -0000 Mailing-List: contact commits-help@quickstep.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@quickstep.incubator.apache.org Delivered-To: mailing list commits@quickstep.incubator.apache.org Received: (qmail 76424 invoked by uid 99); 28 May 2018 01:15:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2018 01:15:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 6B842180188 for ; Mon, 28 May 2018 01:15:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -11.711 X-Spam-Level: X-Spam-Status: No, score=-11.711 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id lOJdZKyJTF18 for ; Mon, 28 May 2018 01:15:13 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 7F9155F1CF for ; Mon, 28 May 2018 01:15:12 +0000 (UTC) Received: (qmail 76421 invoked by uid 99); 28 May 2018 01:15:11 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2018 01:15:11 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E33C0DFB19; Mon, 28 May 2018 01:15:10 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jianqiao@apache.org To: commits@quickstep.incubator.apache.org Date: Mon, 28 May 2018 01:15:11 -0000 Message-Id: In-Reply-To: <8da91da702ce4b54adf80296e8da0004@git.apache.org> References: <8da91da702ce4b54adf80296e8da0004@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [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 Authored: Sun May 27 20:14:43 2018 -0500 Committer: Jianqiao Zhu 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); } }