feat: debug

This commit is contained in:
DIYgod
2024-07-13 22:47:51 +08:00
parent 32a6c63316
commit 77327e913d
+1 -2
View File
@@ -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)}`);
}
}