@syengup/friday-channel-next 0.0.19 → 0.0.20
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/install.js +5 -2
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -241,8 +241,11 @@ if (sudoUser) {
|
|
|
241
241
|
|
|
242
242
|
log("Restarting OpenClaw gateway...");
|
|
243
243
|
try {
|
|
244
|
-
execSync(`${openclawCmd} gateway restart`, { stdio: "
|
|
245
|
-
|
|
244
|
+
const out = execSync(`${openclawCmd} gateway restart`, { encoding: "utf8", stdio: "pipe" });
|
|
245
|
+
if (out.trim()) console.log(out.trim());
|
|
246
|
+
} catch (e) {
|
|
247
|
+
if (e.stdout?.trim()) console.log(e.stdout.trim());
|
|
248
|
+
if (e.stderr?.trim()) console.error(e.stderr.trim());
|
|
246
249
|
warn("Gateway restart failed. The plugin files are installed but the gateway was not restarted.");
|
|
247
250
|
warn("Check 'openclaw gateway status' and restart manually: openclaw gateway restart");
|
|
248
251
|
}
|