From 87fdca2a8a4fdd73ad4ce59ff8799efd318c9339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 10 Feb 2026 21:31:47 -0500 Subject: [PATCH] test: add more info to failiing response --- test/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api.js b/test/api.js index 5e98d9f00c..06e1a1a3f1 100644 --- a/test/api.js +++ b/test/api.js @@ -532,7 +532,7 @@ describe('API', async () => { assert( responses.hasOwnProperty('418') || Object.keys(responses).includes(String(result.response.statusCode)), - `${method.toUpperCase()} ${path} sent back unexpected HTTP status code: ${result.response.statusCode}` + `${method.toUpperCase()} ${path} sent back unexpected HTTP status code: ${result.response.statusCode}, body: ${JSON.stringify(result.body)} status: ${result.response.statusText}`, ); });