From 2d832264e67ec60512cc6a16b859af48dfd60942 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 b328900a..9324fe73 100644 --- a/dev-proxy-plugins/RandomErrors/GenericRandomErrorPlugin.cs +++ b/dev-proxy-plugins/RandomErrors/GenericRandomErrorPlugin.cs @@ -144,7 +144,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);