fix: demote rate limit log to warn
This commit is contained in:
parent
3f3b0175e8
commit
93acdafd3b
|
@ -645,7 +645,7 @@ export class IssuesProcessor {
|
||||||
const rateLimitResult = await this.client.rest.rateLimit.get();
|
const rateLimitResult = await this.client.rest.rateLimit.get();
|
||||||
return new RateLimit(rateLimitResult.data.rate);
|
return new RateLimit(rateLimitResult.data.rate);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error(`Error when getting rateLimit: ${error.message}`);
|
logger.warn(`Error when getting rateLimit: ${error.message}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue