# HG changeset patch # User koff # Date 2016-10-10 00:14:00 # Node ID b305c678923a8ab36f38923be7619053783bc09c # Parent 86187b01c4e0351502b97624dce3b57bafe6856e fixed error handling for chained actions diff --git a/Implab/ActionChainTaskBase.cs b/Implab/ActionChainTaskBase.cs --- a/Implab/ActionChainTaskBase.cs +++ b/Implab/ActionChainTaskBase.cs @@ -50,7 +50,7 @@ namespace Implab { p.On(SetResult, SetErrorInternal, SetCancelledInternal); CancellationRequested(p.Cancel); } catch (Exception err) { - SetErrorInternal(error); + SetErrorInternal(err); } } else { SetErrorInternal(error);