Skip to content

Commit a17f432

Browse files
committed
Notify about conda+virtualenv errors
1 parent e2093d0 commit a17f432

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/installer/stages/platformio-core.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ export default class PlatformIOCoreStage extends BaseStage {
155155
if (code === 0) {
156156
return resolve(stdout);
157157
} else {
158-
return reject(new Error(`Conda Virtualenv: ${stderr}`));
158+
const err = new Error(`Conda Virtualenv: ${stderr}`);
159+
misc.reportError(err);
160+
return reject(err);
159161
}
160162
}
161163
);

0 commit comments

Comments
 (0)