We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aefc93 commit edf87afCopy full SHA for edf87af
1 file changed
src/lib/RosNode.js
@@ -450,6 +450,7 @@ class RosNode extends EventEmitter {
450
_setupTcprosServer(tcprosPort=null) {
451
let _createServer = (callback) => {
452
const server = net.createServer((connection) => {
453
+ connection.on("error",()=>{}) //add this incase of ECONNRESET crash the whole program
454
let conName = connection.remoteAddress + ":"
455
+ connection.remotePort;
456
connection.name = conName;
0 commit comments