Commit 0fc8152 1 parent 88a2412 commit 0fc8152 Copy full SHA for 0fc8152
File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1407,6 +1407,7 @@ bool HandleSchedulerError(Exception e)
1407
1407
1408
1408
void HandleWorkflowError ( Exception e )
1409
1409
{
1410
+ var building = this . building ; // Ensure the current value of `building` is used when if the handler below is invoked
1410
1411
Action selectExceptionNode = ( ) =>
1411
1412
{
1412
1413
var workflowException = e as WorkflowException ;
@@ -1415,7 +1416,7 @@ void HandleWorkflowError(Exception e)
1415
1416
workflowError = workflowException ;
1416
1417
HighlightExceptionBuilderNode ( workflowException , building ) ;
1417
1418
}
1418
- else editorSite . ShowError ( e . Message , Name ) ;
1419
+ else editorSite . ShowError ( e . Message , "Internal workflow error" ) ;
1419
1420
} ;
1420
1421
1421
1422
if ( InvokeRequired ) BeginInvoke ( selectExceptionNode ) ;
You can’t perform that action at this time.
0 commit comments