Revert "Catch more IPC I/O exceptions"

This reverts commit 92281512f5.
This commit is contained in:
JustArchi
2018-02-04 09:56:22 +01:00
parent 92281512f5
commit 4223d3862d

View File

@@ -763,7 +763,7 @@ namespace ArchiSteamFarm {
response.ContentLength64 = content.Length;
await response.OutputStream.WriteAsync(content, 0, content.Length).ConfigureAwait(false);
} catch (InvalidOperationException e) {
} catch (ObjectDisposedException e) {
ASF.ArchiLogger.LogGenericDebuggingException(e);
}
}
@@ -781,7 +781,7 @@ namespace ArchiSteamFarm {
await ResponseBase(request, response, content).ConfigureAwait(false);
} catch (FileNotFoundException) {
await ResponseStatusCode(request, response, HttpStatusCode.NotFound).ConfigureAwait(false);
} catch (InvalidOperationException e) {
} catch (ObjectDisposedException e) {
ASF.ArchiLogger.LogGenericDebuggingException(e);
} catch (Exception e) {
ASF.ArchiLogger.LogGenericException(e);
@@ -832,7 +832,7 @@ namespace ArchiSteamFarm {
byte[] content = response.ContentEncoding.GetBytes(text + Environment.NewLine);
await ResponseBase(request, response, content, statusCode).ConfigureAwait(false);
} catch (InvalidOperationException e) {
} catch (ObjectDisposedException e) {
ASF.ArchiLogger.LogGenericDebuggingException(e);
}
}