Changing RPC Command execution.

This commit is contained in:
stephb9959
2022-01-08 10:33:11 -08:00
parent 41f3f08432
commit 1d0a0a0bd0

View File

@@ -96,7 +96,7 @@ namespace OpenWifi::RESTAPI_RPC {
Cmd.to_json(O);
Handler->ReturnObject(O);
}
Logger.information(Poco::format("Command(%s): completed in %8.3fms.", Cmd.UUID, rpc_execution_time));
Logger.information(Poco::format("Command(%s): completed in %8.3fms.", Cmd.UUID, rpc_execution_time.count()));
return;
} else {
SetCommandStatus(Cmd, Request, Response, Handler,