diff options
Diffstat (limited to 'src/rpcclient.cpp')
| -rw-r--r-- | src/rpcclient.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpcclient.cpp b/src/rpcclient.cpp index c404ac274..efb1fa118 100644 --- a/src/rpcclient.cpp +++ b/src/rpcclient.cpp @@ -20,7 +20,6 @@ #include <boost/foreach.hpp> #include <boost/iostreams/concepts.hpp> #include <boost/iostreams/stream.hpp> -#include <boost/lexical_cast.hpp> #include <boost/shared_ptr.hpp> #include "json/json_spirit_writer_template.h" @@ -233,10 +232,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 != "") |