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.
2 parents bb03368 + 660e067 commit 6196f8cCopy full SHA for 6196f8c
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