]> Git Repo - VerusCoin.git/blobdiff - src/rpc/server.cpp
Ability to define, list, start and connect to PBaaS chains
[VerusCoin.git] / src / rpc / server.cpp
index 162df8440510bb04e3f6db3b929bafdbebad0549..fca4d392edef940e8f721892c0a79c91d1169618 100644 (file)
@@ -736,7 +736,9 @@ UniValue CRPCTable::execute(const std::string &strMethod, const UniValue &params
     // Find method
     const CRPCCommand *pcmd = tableRPC[strMethod];
     if (!pcmd)
-        throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Method not found");
+    {
+        throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Method " + strMethod + " not found");
+    }
 
     g_rpcSignals.PreCommand(*pcmd);
 
This page took 0.02011 seconds and 4 git commands to generate.