Skip to content

Commit 6c51619

Browse files
committed
Comment
1 parent 031c515 commit 6c51619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Grpc.AspNetCore.Server/Internal/HttpContextServerCallContext.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ private void ProcessHandlerError(Exception ex, string method)
195195
{
196196
if (ex is OperationCanceledException or IOException && CancellationTokenCore.IsCancellationRequested)
197197
{
198-
// Request cancellation causes OCE and IO errors.
199-
// When the request has been canceled log error types at the info-level to avoid creating error-level noise.
198+
// Request cancellation can causes OCE and IO errors.
199+
// When the request has been canceled log these error types at the info-level to avoid creating error-level noise.
200200
GrpcServerLog.ServiceMethodCanceled(Logger, method, ex);
201201
}
202202
else

0 commit comments

Comments
 (0)