Skip to content

Commit

Permalink
Fixes the double passed through message. Closes #455
Browse files Browse the repository at this point in the history
  • Loading branch information
waldekmastykarz committed Dec 22, 2023
1 parent 0c7e1cf commit 2d83226
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dev-proxy-plugins/RandomErrors/GenericRandomErrorPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2d83226

Please sign in to comment.