BorderColorConverter for validation errors does not intercept exceptions from binding system.
MODIFY
WalletWasabi.Gui/Converters/ErrorDescriptorToBorderColorConverter.cs
WalletWasabi.Gui/Converters/ErrorDescriptorToBorderColorConverter.cs
@@ -11,12 +11,6 @@ namespace WalletWasabi.Gui.Converters
{
public class ErrorDescriptorToBorderColorConverter : IValueConverter
{
- private ErrorDescriptor UndefinedExceptionToErrorDescriptor(Exception ex)
- {
- var newErrDescMessage = ExceptionExtensions.ToTypeMessageString(ex);
- return new ErrorDescriptor(ErrorSeverity.Warning, newErrDescMessage);
- }
-
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var descriptors = ErrorDescriptors.Create();
@@ -27,15 +21,6 @@ namespace WalletWasabi.Gui.Converters
{
descriptors.Add(error);
}
-
- foreach (var ex in rawObj.OfType<Exception>())
- {
- descriptors.Add(UndefinedExceptionToErrorDescriptor(ex));
- }
- }
- else if (value is Exception ex)
- {
- descriptors.Add(UndefinedExceptionToErrorDescriptor(ex));
}
else
{

BorderColorConverter for validation errors does not intercept exceptions from binding system.