cassian-cli 0.1.0 → 0.1.1
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/dist/commands/ssh.js +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/commands/ssh.js
CHANGED
|
@@ -25,7 +25,7 @@ export async function ssh() {
|
|
|
25
25
|
const connected = await connectWebSocket(instance, stopSync);
|
|
26
26
|
if (!connected) {
|
|
27
27
|
stopSync();
|
|
28
|
-
fatal("Could not connect to instance.", "
|
|
28
|
+
fatal("Could not connect to instance.", "Wait a few seconds and try again. If it keeps failing: cassian down && cassian up");
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
catch (err) {
|
|
@@ -68,7 +68,7 @@ async function connectWebSocket(instance, stopSync) {
|
|
|
68
68
|
ws.terminate();
|
|
69
69
|
resolve(false);
|
|
70
70
|
}
|
|
71
|
-
},
|
|
71
|
+
}, 10000);
|
|
72
72
|
ws.on("open", () => {
|
|
73
73
|
connected = true;
|
|
74
74
|
clearTimeout(timeout);
|
package/dist/index.js
CHANGED