fix: demote rate limit log to warn

This commit is contained in:
titan-ron 2024-03-23 19:03:03 +02:00 committed by GitHub
parent 3f3b0175e8
commit 93acdafd3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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}`);
}
}