From b53ef5f91ef993a69f1d7c200e1216ec8d56f1a4 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Mon, 21 Aug 2023 03:20:03 -0400 Subject: [PATCH] Stringify invalid responses --- src/fetch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fetch.ts b/src/fetch.ts index 509b55c..c31190c 100644 --- a/src/fetch.ts +++ b/src/fetch.ts @@ -178,7 +178,7 @@ export const twitterFetch = async ( } if (!validateFunction(response)) { - console.log('Failed to fetch response, got', response); + console.log('Failed to fetch response, got', JSON.stringify(response)); if (useElongator) { console.log('Elongator request failed to validate, trying again without it'); wasElongatorDisabled = true;