From 3269293c7544eb2be082583bee084cfb3a6ee55a Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Tue, 3 Jan 2017 21:52:36 +0100 Subject: [PATCH] Fix (Mono/Win diff in exception type) --- Utility/Communications/CommsTransmitterMail.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utility/Communications/CommsTransmitterMail.cs b/Utility/Communications/CommsTransmitterMail.cs index 2568ef36..c0f5e90a 100644 --- a/Utility/Communications/CommsTransmitterMail.cs +++ b/Utility/Communications/CommsTransmitterMail.cs @@ -72,7 +72,7 @@ namespace Swarmops.Utility.Communications mail.To.Add(new MailAddress(person.Mail, person.Name)); } } - catch (FormatException e) + catch (ArgumentException e) { // Address failure -- either sender or recipient