Browse Source

try catch

master
zeus 4 years ago
parent
commit
aad98ba3ad
  1. 6
      llo/connect-new.js

6
llo/connect-new.js

@ -1417,9 +1417,6 @@ function mywgRemoveClosedConnection(){
try {
var interfaces = JSON.parse(n.data);
} catch (err) {
console.error(err);
}
var datalenth = interfaces.length
// interfaces found with connection=yes or no
for (var i=0 ; i < datalenth ; i++)
@ -1521,6 +1518,9 @@ function mywgRemoveClosedConnection(){
}
}
} catch (err) {
console.error(err);
}
});
log.stderr.on('data', function (data) {

Loading…
Cancel
Save