Simplify notification error when hardware wallet isn't found
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
@@ -385,9 +385,9 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
}
signedTransaction = signedPsbt.ExtractSmartTransaction(result.Transaction);
}
- catch (Exception ex)
+ catch (Exception)
{
- NotificationHelpers.Error(ex.ToTypeMessageString());
+ NotificationHelpers.Error("Could not find the device. Make sure it is connected.");
return;
}
finally

MODIFY
WalletWasabi.Gui/ViewModels/AddressViewModel.cs
WalletWasabi.Gui/ViewModels/AddressViewModel.cs
@@ -132,7 +132,7 @@ namespace WalletWasabi.Gui.ViewModels
.Merge(DisplayAddressOnHw.ThrownExceptions)
.Subscribe(ex =>
{
- NotificationHelpers.Error(ex.ToTypeMessageString());
+ NotificationHelpers.Error("Could not find the device. Make sure it is connected.");
Logger.LogWarning(ex);
});
}

Simplify notification error when hardware wallet isn't found