From 77327e913deb9635f030842912eeeaccf7b441da Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sat, 13 Jul 2024 22:47:51 +0800 Subject: [PATCH] feat: debug --- lib/routes/twitter/api/web-api/utils.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/routes/twitter/api/web-api/utils.ts b/lib/routes/twitter/api/web-api/utils.ts index 4188f2b5b697a5..7420506908f5f6 100644 --- a/lib/routes/twitter/api/web-api/utils.ts +++ b/lib/routes/twitter/api/web-api/utils.ts @@ -123,8 +123,7 @@ export const paginationTweets = async (endpoint: string, userId: number | undefi instructions = data.user.result.timeline_v2.timeline.instructions; } else { // throw new Error('Because Twitter Premium has features that hide your likes, this RSS link is not available for Twitter Premium accounts.'); - logger.debug('Instructions not found in data', data); - instructions = []; + logger.debug(`Instructions not found in data: ${JSON.stringify(data)}`); } }