From df8ae6e8b88154d12bbeb5e2c648699735b82e85 Mon Sep 17 00:00:00 2001 From: waldekmastykarz Date: Fri, 22 Dec 2023 09:00:46 +0100 Subject: [PATCH] Fixes the double passed through message. Closes #455 --- dev-proxy-plugins/RandomErrors/GenericRandomErrorPlugin.cs | 1 - 1 file changed, 1 deletion(-) 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);