diff Implab/ActionChainTask.cs @ 199:43b1017ce100 v2

Слияние с default
author cin
date Fri, 14 Oct 2016 03:33:17 +0300
parents 40d7fed4a09e
children eee3e49dd1ff
line wrap: on
line diff
--- a/Implab/ActionChainTask.cs	Wed May 04 12:28:08 2016 +0300
+++ b/Implab/ActionChainTask.cs	Fri Oct 14 03:33:17 2016 +0300
@@ -23,10 +23,8 @@
                     var p = m_task();
                     p.On(SetResult, HandleErrorInternal, HandleCancelInternal);
                     CancellationRequested(p.Cancel);
-                } catch (OperationCanceledException reason){
-                    HandleCancelInternal(reason);
                 } catch(Exception err) {
-                    HandleErrorInternal(err);
+                    SetErrorInternal(err);
                 }
             }
         }