Mercurial > pub > ImplabNet
diff Implab/AbstractPromise.cs @ 199:43b1017ce100 v2
Слияние с default
author | cin |
---|---|
date | Fri, 14 Oct 2016 03:33:17 +0300 |
parents | 86187b01c4e0 |
children | cbe10ac0731e |
line wrap: on
line diff
--- a/Implab/AbstractPromise.cs Wed May 04 12:28:08 2016 +0300 +++ b/Implab/AbstractPromise.cs Fri Oct 14 03:33:17 2016 +0300 @@ -27,10 +27,8 @@ if ((m_mask & PromiseEventType.Success) != 0 && m_handler != null) { try { m_handler(); - } catch (Exception err) { - // avoid calling handler twice in case of error - if (m_error != null) - SignalError(err); + // Analysis disable once EmptyGeneralCatchClause + } catch { } } } @@ -55,8 +53,8 @@ if (m_cancel != null) { try { m_cancel(reason); - } catch (Exception err) { - SignalError(err); + // Analysis disable once EmptyGeneralCatchClause + } catch { } } else if ( (m_mask & PromiseEventType.Cancelled) != 0 && m_handler != null) { try {