From 386b4b42f78daa8a75b9f0cfb4e2f0b21edb51fc Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 11 Aug 2026 17:26:43 -0700 Subject: [PATCH] Log node response as truncated string instead of full object. --- src/lib/rpc/block_info.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/rpc/block_info.ts b/src/lib/rpc/block_info.ts index 18bdcb6..5217b7c 100644 --- a/src/lib/rpc/block_info.ts +++ b/src/lib/rpc/block_info.ts @@ -92,5 +92,5 @@ export function block_info (body: unknown): BlockInfoResponse { return response } } - throw new RpcError('Invalid block_info response', { cause: body }) + throw new RpcError('Invalid block_info response', { cause: JSON.stringify(body).slice(0, 100) }) } -- 2.52.0