plum-e2e 2.8.2 → 2.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/backend/Dockerfile +1 -1
- package/backend/package.json +1 -1
- package/bin/plum.js +12 -2
- package/package.json +1 -1
package/backend/Dockerfile
CHANGED
package/backend/package.json
CHANGED
package/bin/plum.js
CHANGED
|
@@ -711,7 +711,12 @@ async function nodeStart({ reconfig }) {
|
|
|
711
711
|
prepareEnv();
|
|
712
712
|
clack.log.success('Environment ready.');
|
|
713
713
|
} catch (e) {
|
|
714
|
-
clack.log.
|
|
714
|
+
clack.log.error(
|
|
715
|
+
`Environment prep failed: ${e.message}\nNot starting the node — it would come up "running" but fail every dispatched test at the browser-launch step.`
|
|
716
|
+
);
|
|
717
|
+
clack.outro(pc.red('Node not started.'));
|
|
718
|
+
process.exitCode = 1;
|
|
719
|
+
return;
|
|
715
720
|
}
|
|
716
721
|
|
|
717
722
|
if (registeredId) {
|
|
@@ -760,7 +765,12 @@ async function nodeRestart() {
|
|
|
760
765
|
try {
|
|
761
766
|
prepareEnv();
|
|
762
767
|
} catch (e) {
|
|
763
|
-
clack.log.
|
|
768
|
+
clack.log.error(
|
|
769
|
+
`Dependency refresh failed: ${e.message}\nNot restarting the node — it would come up "running" but fail every dispatched test at the browser-launch step. The node stays stopped until this is fixed and \`plum node restart\` is run again.`
|
|
770
|
+
);
|
|
771
|
+
clack.outro(pc.red('Node not restarted.'));
|
|
772
|
+
process.exitCode = 1;
|
|
773
|
+
return;
|
|
764
774
|
}
|
|
765
775
|
|
|
766
776
|
try {
|