Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit e69d148

Browse files
Returning the correct exception
1 parent aed2019 commit e69d148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/Tasks/ActionTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ private void TaskFinished(ITask task, bool success, Exception ex)
4646
}
4747
else
4848
{
49-
aggregateTask.TrySetException(ex);
49+
aggregateTask.TrySetException(exception);
5050
}
5151
}
5252
}

0 commit comments

Comments
 (0)