Closed szmarczak closed 5 years ago
This is because the Agent class attaches its own error handler.
error
It should check if someone has attached an additional handler. If they did, don't throw. If they didn't, throw.
session.on('error', error => { ... if (listenerCount === 0) { throw error; } });
This is because the Agent class attaches its own
error
handler.It should check if someone has attached an additional handler. If they did, don't throw. If they didn't, throw.