diff options
Diffstat (limited to 'src/rpcclient.cpp')
-rw-r--r-- | src/rpcclient.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rpcclient.cpp b/src/rpcclient.cpp index c404ac274b..37a501bb17 100644 --- a/src/rpcclient.cpp +++ b/src/rpcclient.cpp @@ -233,10 +233,11 @@ int CommandLineRPC(int argc, char *argv[]) } catch (std::exception& e) { strPrint = string("error: ") + e.what(); - nRet = 87; + nRet = abs(RPC_MISC_ERROR); } catch (...) { - PrintException(NULL, "CommandLineRPC()"); + PrintExceptionContinue(NULL, "CommandLineRPC()"); + throw; } if (strPrint != "") |