日志降级TaskCanceledException

This commit is contained in:
xljiulang 2021-08-17 23:38:56 +08:00
parent 4faa241b87
commit df065089c3

View File

@ -53,7 +53,7 @@ namespace FastGithub.ReverseProxy
}
var exception = context.GetForwarderErrorFeature()?.Exception;
if (exception == null)
if (exception == null || exception is OperationCanceledException)
{
this.logger.LogInformation(message);
}