diff --git a/FastGithub.ReverseProxy/RequestLoggingMilldeware.cs b/FastGithub.ReverseProxy/RequestLoggingMilldeware.cs index 38423d2..8d9f379 100644 --- a/FastGithub.ReverseProxy/RequestLoggingMilldeware.cs +++ b/FastGithub.ReverseProxy/RequestLoggingMilldeware.cs @@ -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); }