@clawos-dev/clawd 0.2.13-beta.14.45046af → 0.2.13
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/cli.cjs +3 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -16632,7 +16632,9 @@ var LocalWsServer = class {
|
|
|
16632
16632
|
safeSend(ws, frame) {
|
|
16633
16633
|
if (ws.readyState !== import_websocket.default.OPEN) return;
|
|
16634
16634
|
try {
|
|
16635
|
-
ws.send(JSON.stringify(frame))
|
|
16635
|
+
ws.send(JSON.stringify(frame), (err) => {
|
|
16636
|
+
if (err) this.logger?.warn("safeSend async failed", { err: err.message });
|
|
16637
|
+
});
|
|
16636
16638
|
} catch (err) {
|
|
16637
16639
|
this.logger?.warn("safeSend failed", { err: err.message });
|
|
16638
16640
|
}
|
package/package.json
CHANGED