We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb03368 commit 660e067Copy full SHA for 660e067
src/cloud/social/shim/tcp.js
@@ -25,7 +25,11 @@ FreedomTCP.prototype._onRead = function(readInfo) {
25
//console.warn('read ' + len +': ' + str);
26
27
if (this.reading) {
28
- this.onread(len, buf);
+ try {
29
+ this.onread(len, buf);
30
+ } catch (e) {
31
+ console.error('nodejs socket read handler raised en error', e);
32
+ }
33
} else {
34
this.bufferedReads.push({buf: buf, len: len});
35
}
0 commit comments