6 references to FailAsync
Aspire.Hosting.Azure (2)
AzureEnvironmentResourceHelpers.cs (1)
62await loginTask.FailAsync($"Login to ACR **{registryName}** failed with exit code {result.ExitCode}", cancellationToken: cancellationToken).ConfigureAwait(false);
AzurePublishingContext.cs (1)
105await writeTask.FailAsync($"Failed to write Azure Bicep templates: {ex.Message}", cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Docker (2)
DockerComposeEnvironmentResource.cs (2)
251await deployTask.FailAsync($"docker compose up failed with exit code {processResult.ExitCode}", cancellationToken: context.CancellationToken).ConfigureAwait(false); 310await deployTask.FailAsync($"docker compose down failed with exit code {processResult.ExitCode}", cancellationToken: context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (2)
Publishing\PipelineActivityReporterTests.cs (1)
727await taskInternal.FailAsync(completionMessage, CancellationToken.None);
Publishing\PublishingExtensionsTests.cs (1)
116await task.FailAsync("Error message", CancellationToken.None);