Skip to content

Commit

Permalink
feat: Update StopAndRemoveContainerOnExceptionBehavior.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcarpanezi authored Nov 30, 2023
1 parent ad04eab commit fc2ab95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public StopAndRemoveContainerOnExceptionBehavior(IDockerClient client, ILogger<S
}

public async Task Handle(TRequest request, TException exception, RequestExceptionHandlerState<TResponse> state, CancellationToken cancellationToken) {
_logger.LogDebug("Stopping and removing container {ContainerId}", request.ContainerId);
_logger.LogDebug(exception, "Stopping and removing container {ContainerId}", request.ContainerId);

if (request.ContainerId is null) return;

Expand Down

0 comments on commit fc2ab95

Please sign in to comment.