diff --git a/source/bizobjects/AyaLib/GZTW.AyaNova.BLL/GenProcessClientNotifications.cs b/source/bizobjects/AyaLib/GZTW.AyaNova.BLL/GenProcessClientNotifications.cs index 826cc95..9e83f9e 100644 --- a/source/bizobjects/AyaLib/GZTW.AyaNova.BLL/GenProcessClientNotifications.cs +++ b/source/bizobjects/AyaLib/GZTW.AyaNova.BLL/GenProcessClientNotifications.cs @@ -181,9 +181,21 @@ namespace GZTW.AyaNova.BLL ClientNotifyEvent.DeleteItem(n.ID); } } - catch - { - } + catch(Exception ex) + { + //case 3829 + + //crack exception if necessary + while (ex.InnerException != null) ex = ex.InnerException; + //log and then continue + if(string.IsNullOrEmpty(NotifySummary)){ + NotifySummary="UNKNOWN MESSAGE"; + } + NotifyDeliveryLog.LogSMTPDeliveryMessage("ClientNotify Exception during delivery: Full error is:\r\n" + ex.Message + "\r\nMessage: "+ NotifySummary); + + continue; + } + }