Log error in vulcanize.js when one is raised
parent
594f143ad0
commit
31af2968da
|
@ -103,4 +103,5 @@ hyd.Analyzer.analyze('src/home-assistant.html')
|
||||||
// Chain all vulcanizing work as promises
|
// Chain all vulcanizing work as promises
|
||||||
.then(() => toProcess.reduce(
|
.then(() => toProcess.reduce(
|
||||||
(p, entry) => p.then(() => vulcanizeEntry(entry)),
|
(p, entry) => p.then(() => vulcanizeEntry(entry)),
|
||||||
Promise.resolve()));
|
Promise.resolve()))
|
||||||
|
.catch(err => console.error('Something went wrong!', err));
|
||||||
|
|
Loading…
Reference in New Issue