日志降级TaskCanceledException
This commit is contained in:
parent
4faa241b87
commit
df065089c3
@ -53,7 +53,7 @@ namespace FastGithub.ReverseProxy
|
|||||||
}
|
}
|
||||||
|
|
||||||
var exception = context.GetForwarderErrorFeature()?.Exception;
|
var exception = context.GetForwarderErrorFeature()?.Exception;
|
||||||
if (exception == null)
|
if (exception == null || exception is OperationCanceledException)
|
||||||
{
|
{
|
||||||
this.logger.LogInformation(message);
|
this.logger.LogInformation(message);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user