CA2200: Rethrow to preserve stack details
MODIFY
WalletWasabi.Backend/Controllers/BlockchainController.cs
WalletWasabi.Backend/Controllers/BlockchainController.cs
@@ -332,7 +332,7 @@ namespace WalletWasabi.Backend.Controllers
catch (Exception ex)
{
Logger.LogDebug(ex);
- throw ex;
+ throw;
}
}

MODIFY
WalletWasabi.Tests/RegressionTests/BuildTests.cs
WalletWasabi.Tests/RegressionTests/BuildTests.cs
@@ -320,7 +320,7 @@ namespace WalletWasabi.Tests.RegressionTests
{
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
- throw ex;
+ throw;
}
return; // Occassionally this fails on Linux or OSX, I have no idea why.
}

MODIFY
WalletWasabi/Services/WasabiSynchronizer.cs
WalletWasabi/Services/WasabiSynchronizer.cs
@@ -219,7 +219,7 @@ namespace WalletWasabi.Services
}
else
{
- throw ex;
+ throw;
}
}
catch (Exception x)

CA2200: Rethrow to preserve stack details