We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be43bab commit d7a6144Copy full SHA for d7a6144
src/JsonRpc/InputHandler.cs
@@ -144,9 +144,17 @@ public void Start()
144
{
145
await ProcessInputStream(_stopProcessing.Token).ConfigureAwait(false);
146
}
147
+ catch (IOException e)
148
+ {
149
+ if (e.InnerException is SocketException se && se.SocketErrorCode == SocketError.ConnectionReset)
150
+ _logger.LogInformation(e, "Connection reset by client.");
151
+ else
152
+ throw;
153
+
154
+ }
155
catch (Exception e)
156
- _logger.LogCritical(e, "unhandled exception");
157
+ _logger.LogCritical(e, "Unhandled exception");
158
159
160
).Subscribe(_inputActive)
0 commit comments