aboutsummaryrefslogtreecommitdiff
path: root/src/rpcclient.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-02-26 20:52:24 +0100
committerWladimir J. van der Laan <[email protected]>2014-02-26 20:52:39 +0100
commitb81f9718df7768d74d4c5dce1097ba74f8515a76 (patch)
treef6308bc6971891e48d4f34b77c4aaa900673e1ce /src/rpcclient.cpp
parentMerge pull request #3737 from jgarzik/op-return-size (diff)
parentReplace PrintException with PrintExceptionContinue + throw (diff)
downloaddiscoin-b81f9718df7768d74d4c5dce1097ba74f8515a76.tar.xz
discoin-b81f9718df7768d74d4c5dce1097ba74f8515a76.zip
Merge pull request #3749
4423571 Replace PrintException with PrintExceptionContinue + throw (Wladimir J. van der Laan)
Diffstat (limited to 'src/rpcclient.cpp')
-rw-r--r--src/rpcclient.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpcclient.cpp b/src/rpcclient.cpp
index 0d1746b8c..37a501bb1 100644
--- a/src/rpcclient.cpp
+++ b/src/rpcclient.cpp
@@ -236,7 +236,8 @@ int CommandLineRPC(int argc, char *argv[])
nRet = abs(RPC_MISC_ERROR);
}
catch (...) {
- PrintException(NULL, "CommandLineRPC()");
+ PrintExceptionContinue(NULL, "CommandLineRPC()");
+ throw;
}
if (strPrint != "")