We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceeeded commit 0436b51Copy full SHA for 0436b51
src/NodeDev.Core/Nodes/Flow/TryCatchNode.cs
@@ -38,7 +38,7 @@ internal override Expression BuildExpression(Dictionary<Connection, Graph.NodePa
38
var finallyBlock = Expression.Block(Graph.BuildExpression(subChunks[Outputs[2]], info));
39
40
var exceptionVariable = Expression.Variable(typeof(Exception), "ex");
41
- info.LocalVariables[3] = exceptionVariable; // Make sure other pieces of code use the right variable for that exception
+ info.LocalVariables[Outputs[3]] = exceptionVariable; // Make sure other pieces of code use the right variable for that exception
42
43
var catchClause = Expression.Catch(exceptionVariable, catchBlock);
44
0 commit comments