In our application we occasionally encounter an Uncaught Exception due to an ECONNRESET error when the tcp connection between the client and the main electron process is lost.
Write ->
Read ->
In order to prevent this from being shown to the end user we are suggesting that this error be suppressed. Since the socket "close" event will be fired immediately after the socket "error" event, process.exit() will be called as soon as there is an error with the tcp connection.
We are open to other methods of suppressing this exception or adding this as configuration functionality.
In our application we occasionally encounter an Uncaught Exception due to an
ECONNRESET
error when the tcp connection between the client and the main electron process is lost.Write ->
Read ->
In order to prevent this from being shown to the end user we are suggesting that this error be suppressed. Since the socket "close" event will be fired immediately after the socket "error" event,
process.exit()
will be called as soon as there is an error with the tcp connection. We are open to other methods of suppressing this exception or adding this as configuration functionality.