Log missing green domains as info

This commit is contained in:
Peter Hedenskog 2025-02-07 06:12:57 +01:00
parent 90984b1712
commit 8415372122
1 changed files with 2 additions and 2 deletions

View File

@ -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 = {};