6 references to FailAsync
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
108await writeTask.FailAsync($"Failed to write Azure Bicep templates: {ex.Message}", cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.ContainerRegistry (1)
AzureContainerRegistryHelpers.cs (1)
56await loginTask.FailAsync($"Login to ACR **{registryEndpoint}** failed: {ex.Message}", cancellationToken: context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.Docker (2)
DockerComposeEnvironmentResource.cs (2)
264await deployTask.FailAsync($"docker compose up failed with exit code {processResult.ExitCode}", cancellationToken: context.CancellationToken).ConfigureAwait(false); 318await deployTask.FailAsync($"docker compose down failed with exit code {processResult.ExitCode}", cancellationToken: context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (2)
Publishing\PipelineActivityReporterTests.cs (1)
787await taskInternal.FailAsync(completionMessage, CancellationToken.None);
Publishing\PublishingExtensionsTests.cs (1)
116await task.FailAsync("Error message", CancellationToken.None);