- fix test: compiler plugin caching - less

This commit is contained in:
denihs
2023-04-05 19:19:43 -04:00
parent 2e0550a11d
commit 204bb56875
2 changed files with 3 additions and 1 deletions

View File

@@ -404,7 +404,7 @@ Object.assign(AppRunner.prototype, {
self.startPromise = self._makePromise("start");
self.isRunning = true;
self._runApp();
self._runApp().catch((e) => console.error("Error thrown on _runApp", e));
await self.startPromise;
self.startPromise = null;
},

View File

@@ -280,6 +280,8 @@ async function capture(options, f) {
try {
await f();
} catch (e) {
// don't remove this catch, otherwise any errors thrown will propagate. We don't want that.
} finally {
progress.reportProgressDone();