You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
socket.on('message', function (data) {
var d = domain.create();
d.on('error', function(err) {
socket.emit('error', err.message);
});
d.run(function() {
execSomeError();
}
});
In this code nothing happen to nodejs process, that error is caught and socket.io stop accept emissions from the client that was originated and after a while that client is forced to reconnected (and disconnected) by socket.io. Any opinion about this?
The text was updated successfully, but these errors were encountered:
socket.on('message', function (data) {
var d = domain.create();
d.on('error', function(err) {
socket.emit('error', err.message);
});
d.run(function() {
execSomeError();
}
});
In this code nothing happen to nodejs process, that error is caught and socket.io stop accept emissions from the client that was originated and after a while that client is forced to reconnected (and disconnected) by socket.io. Any opinion about this?
The text was updated successfully, but these errors were encountered: