Merge branch 'master' of github.com:jedmccaleb/NewCoin

This commit is contained in:
jed
2012-10-11 09:19:19 -07:00
19 changed files with 302 additions and 119 deletions

View File

@@ -2711,8 +2711,10 @@ Json::Value RPCServer::doCommand(const std::string& command, Json::Value& params
try {
return (this->*(commandsA[i].dfpFunc))(params);
}
catch (...)
catch (std::exception& e)
{
cLog(lsINFO) << "Caught throw: " << e.what();
return RPCError(rpcINTERNAL);
}
}