From 84153721228d12e3e5b279f38e5b074f3107cf31 Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Fri, 7 Feb 2025 06:12:57 +0100 Subject: [PATCH] Log missing green domains as info --- lib/plugins/sustainable/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugins/sustainable/index.js b/lib/plugins/sustainable/index.js index 9907331ae..c8e8ae2b9 100644 --- a/lib/plugins/sustainable/index.js +++ b/lib/plugins/sustainable/index.js @@ -94,8 +94,8 @@ export default class SustainablePlugin extends SitespeedioPlugin { try { this.data = await loadJSON(greenDomainJSONpath); } catch { - log.error('Green domain local file is missing on disk.'); - log.error( + log.info('Green domain local file is missing on disk.'); + log.info( 'Run `DOWNLOAD_URL2GREEN=true npm install sitespeed.io` when you install to install the file locally or use the online API using `--sustainable.useGreenWebHostingAPI true` to check if a domain is green hosted.' ); this.data = {};