Skip to content

Commit

Permalink
Fix validation error.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenCleary committed Dec 8, 2023
1 parent f986bab commit 3fcd549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nito.Try/Try(T).cs
Expand Up @@ -178,7 +178,7 @@ private Try(Exception? exception, T value, bool isException)

private Exception Rethrow()
{
ExceptionDispatchInfo.Capture(_exception).Throw();
ExceptionDispatchInfo.Capture(_exception!).Throw();
return _exception!;
}

Expand Down

0 comments on commit 3fcd549

Please sign in to comment.