From 93acdafd3be31630c57121c45078c8ae61bc5b4d Mon Sep 17 00:00:00 2001 From: titan-ron <30556071+titan-ron@users.noreply.github.com> Date: Sat, 23 Mar 2024 19:03:03 +0200 Subject: [PATCH] fix: demote rate limit log to warn --- src/classes/issues-processor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/issues-processor.ts b/src/classes/issues-processor.ts index 486c6a78a..71db683ae 100644 --- a/src/classes/issues-processor.ts +++ b/src/classes/issues-processor.ts @@ -645,7 +645,7 @@ export class IssuesProcessor { const rateLimitResult = await this.client.rest.rateLimit.get(); return new RateLimit(rateLimitResult.data.rate); } catch (error) { - logger.error(`Error when getting rateLimit: ${error.message}`); + logger.warn(`Error when getting rateLimit: ${error.message}`); } }