From f75d4fb1c03addf682398f5ee780f39be24a924e Mon Sep 17 00:00:00 2001 From: Emma Indal Date: Mon, 22 Aug 2022 08:50:39 +0200 Subject: [PATCH] Update plugins/stack-overflow-backend/src/search/StackOverflowQuestionsCollatorFactory.ts Co-authored-by: Eric Peterson Signed-off-by: Emma Indal --- .../src/search/StackOverflowQuestionsCollatorFactory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/stack-overflow-backend/src/search/StackOverflowQuestionsCollatorFactory.ts b/plugins/stack-overflow-backend/src/search/StackOverflowQuestionsCollatorFactory.ts index a98fc7a2bc..dc82f77a86 100644 --- a/plugins/stack-overflow-backend/src/search/StackOverflowQuestionsCollatorFactory.ts +++ b/plugins/stack-overflow-backend/src/search/StackOverflowQuestionsCollatorFactory.ts @@ -132,7 +132,7 @@ export class StackOverflowQuestionsCollatorFactory while (hasMorePages) { if (page === this.maxPage) { this.logger.warn( - 'You have made over 100 requests to the Stack Overflow API, we recommend you to specify requestParams to limit your search to not reach your API limit or configure your own maxPage.', + `Over ${this.maxPage} requests to the Stack Overflow API have been made, which may not have been intended. Either specify requestParams that limit the questions returned, or configure a higher maxPage if necessary.`, ); break; }