Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
chore: allow console logs for errors during build time
Browse files Browse the repository at this point in the history
  • Loading branch information
zstix committed Jul 5, 2022
1 parent b62b8eb commit 3559cf0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugins/gatsby-source-quickstarts/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ exports.sourceNodes = async ({
: null;
} catch (e) {
// catch any errors when fetching image so that build still succeeds
console.log(`Unable to fetch logo for ${name}: ${logoUrl}`);
console.log(e);
console.log(`Unable to fetch logo for ${name}: ${logoUrl}`); // eslint-disable-line no-console
}

// loop over the dashboard(s) for this quickstart, fetch all the
Expand Down Expand Up @@ -228,8 +227,7 @@ const getDashboardData = async ({
}
} catch (e) {
// catch any errors when fetching image so that build still succeeds
console.log(`Unable to fetch screenshot for ${name}: ${url}`);
console.log(e);
console.log(`Unable to fetch screenshot for ${name}: ${url}`); // eslint-disable-line no-console
}
}

Expand Down

0 comments on commit 3559cf0

Please sign in to comment.