Log missing green domains as info
This commit is contained in:
parent
90984b1712
commit
8415372122
|
|
@ -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 = {};
|
||||
|
|
|
|||
Loading…
Reference in New Issue