Skip to content

Commit

Permalink
Fix null reference return error (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddaspit authored Nov 27, 2023
1 parent 47a35a5 commit b7fdc2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ UnaryServerMethod<TRequest, TResponse> continuation
if (ex is OperationCanceledException)
{
_logger.LogInformation("An operation was canceled.");
return null;
throw new RpcException(new Status(StatusCode.Cancelled, "An operation was canceled."));
}
else
{
Expand Down

0 comments on commit b7fdc2e

Please sign in to comment.