From 3559cf09a987d24693472633d59c22621fada1fe Mon Sep 17 00:00:00 2001 From: Zack Stickles Date: Tue, 5 Jul 2022 10:25:30 -0700 Subject: [PATCH] chore: allow console logs for errors during build time --- plugins/gatsby-source-quickstarts/gatsby-node.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugins/gatsby-source-quickstarts/gatsby-node.js b/plugins/gatsby-source-quickstarts/gatsby-node.js index ba2c49cf..fe8b9dd5 100644 --- a/plugins/gatsby-source-quickstarts/gatsby-node.js +++ b/plugins/gatsby-source-quickstarts/gatsby-node.js @@ -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 @@ -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 } }