Skip to content

Commit 0436b51

Browse files
committed
Fix typo
1 parent ceeeded commit 0436b51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NodeDev.Core/Nodes/Flow/TryCatchNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ internal override Expression BuildExpression(Dictionary<Connection, Graph.NodePa
3838
var finallyBlock = Expression.Block(Graph.BuildExpression(subChunks[Outputs[2]], info));
3939

4040
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
41+
info.LocalVariables[Outputs[3]] = exceptionVariable; // Make sure other pieces of code use the right variable for that exception
4242

4343
var catchClause = Expression.Catch(exceptionVariable, catchBlock);
4444

0 commit comments

Comments
 (0)