diff --git a/dev-proxy-plugins/RandomErrors/GenericRandomErrorPlugin.cs b/dev-proxy-plugins/RandomErrors/GenericRandomErrorPlugin.cs index 7a8bb291..2150961f 100644 --- a/dev-proxy-plugins/RandomErrors/GenericRandomErrorPlugin.cs +++ b/dev-proxy-plugins/RandomErrors/GenericRandomErrorPlugin.cs @@ -152,7 +152,6 @@ private Task OnRequest(object? sender, ProxyRequestArgs e) if (failMode == GenericRandomErrorFailMode.PassThru && _proxyConfiguration?.Rate != 100) { - _logger?.LogRequest(new[] { "Passed through" }, MessageType.PassedThrough, new LoggingContext(e.Session)); return Task.CompletedTask; } FailResponse(e, failMode);