Update WalletWasabi/Io/SafeIoManager.cs
MODIFY
WalletWasabi/Io/SafeIoManager.cs
WalletWasabi/Io/SafeIoManager.cs
@@ -141,7 +141,7 @@ namespace WalletWasabi.Io
{
if (string.IsNullOrEmpty(text))
{
- return;
+ throw new ArgumentNullException(nameof(text), "Parameter cannot be null or empty.");
}
IoHelpers.EnsureContainingDirectoryExists(NewFilePath);

Update WalletWasabi/Io/SafeIoManager.cs

Co-authored-by: adamPetho <45069029+adamPetho@users.noreply.github.com>