Remove exception text from error sending (#1048)

Fixes #1037
This commit is contained in:
Sergey Kuznetsov
2023-12-13 16:30:16 +00:00
committed by GitHub
parent dd35a7cfd2
commit b1dc2775fb
5 changed files with 85 additions and 13 deletions

View File

@@ -782,7 +782,7 @@ TEST_F(WebRPCServerHandlerTest, HTTPTooBusy)
TEST_F(WebRPCServerHandlerTest, HTTPRequestNotJson)
{
static auto constexpr request = "not json";
static auto constexpr responsePrefix = "Unable to parse request: syntax error";
static auto constexpr responsePrefix = "Unable to parse JSON from the request";
EXPECT_CALL(*rpcEngine, notifyBadSyntax).Times(1);