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

This commit is contained in:
JoelKatz
2012-10-03 22:24:02 -07:00

View File

@@ -2729,7 +2729,13 @@ Json::Value RPCServer::doCommand(const std::string& command, Json::Value& params
}
else
{
return (this->*(commandsA[i].dfpFunc))(params);
try {
return (this->*(commandsA[i].dfpFunc))(params);
}
catch (...)
{
return RPCError(rpcINTERNAL);
}
}
}