Closed bentoi closed 4 years ago
When killing the simpleChat server:
./server ^CDetected dead router - destroying all associated sessions
The close callback should check the connection's exception and only print this message if the exception is not ObjectAdapterDeactivationException
ObjectAdapterDeactivationException
@bentoi how can we get the exception here? the exception is not passed to the connection close callback
The close callback could throw the connection's exception with Connection::throwException.
Connection::throwException
When killing the simpleChat server:
The close callback should check the connection's exception and only print this message if the exception is not
ObjectAdapterDeactivationException