Skip to content

Commit

Permalink
Fixes the double passed through message. Closes microsoft#455 (micros…
Browse files Browse the repository at this point in the history
  • Loading branch information
waldekmastykarz authored Dec 22, 2023
1 parent 63dfa8a commit 3eec3d6
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 @@ -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);
Expand Down

0 comments on commit 3eec3d6

Please sign in to comment.