REFACTOR: Do not complain about unused catch that are used in release.

This commit is contained in:
2017-12-21 07:23:33 +00:00
parent e1d0544c3c
commit 7dcdcfedd3
2 changed files with 2 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ namespace DiscImageChef.Core
// Can't connect to the server, do nothing // Can't connect to the server, do nothing
return; return;
} }
// ReSharper disable once RedundantCatchClause
catch catch
{ {
#if DEBUG #if DEBUG

View File

@@ -82,6 +82,7 @@ namespace DiscImageChef.Server.Controllers
response.Content = new StringContent("ok", System.Text.Encoding.UTF8, "text/plain"); response.Content = new StringContent("ok", System.Text.Encoding.UTF8, "text/plain");
return response; return response;
} }
// ReSharper disable once RedundantCatchClause
catch catch
{ {
#if DEBUG #if DEBUG