mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
logs: lower graphql warn to info
This commit is contained in:
parent
6f0ceaecc5
commit
f91d064d14
1 changed files with 4 additions and 1 deletions
|
@ -996,7 +996,10 @@ async function getClosedPrs() {
|
||||||
const prNumbers = [];
|
const prNumbers = [];
|
||||||
// istanbul ignore if
|
// istanbul ignore if
|
||||||
if (!res.data) {
|
if (!res.data) {
|
||||||
logger.warn({ query, res }, 'No graphql res.data');
|
logger.info(
|
||||||
|
{ query, res },
|
||||||
|
'No graphql res.data, returning empty list'
|
||||||
|
);
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
for (const pr of res.data.repository.pullRequests.nodes) {
|
for (const pr of res.data.repository.pullRequests.nodes) {
|
||||||
|
|
Loading…
Reference in a new issue