Commit 6b841d87 authored by martin hou's avatar martin hou

Merge branch 'v20250816' into device-mgr

parents 3112dd38 4a9305c3
......@@ -444,8 +444,10 @@ function Jensen(log, conn) {
// console.log(pid + '-Receive', new Date().toLocaleString(), r?.data);
receive(r);
}).catch((e) => {
console.log('tryReceive error', e)
// console.log('tryReceive error', e)
// if (!channelHealthy) self.onerror?.(e);
Logger.error('jensen', 'receive', String(e));
tryReceive();
});
};
......@@ -472,9 +474,7 @@ function Jensen(log, conn) {
tryDecode();
}, self.timewait);
if (self.onreceive) {
try {
self.onreceive(totalBytes);
} catch (e) {}
try { self.onreceive(totalBytes); } catch (e) {}
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment