194 references to LogError
aspire (56)
Certificates\CertificateGeneration\CertificateManager.cs (22)
1128_logger.LogError("An error occurred while listing the certificates: {Error}", e);
1160_logger.LogError("An error has occurred generating the certificate: {Error}.", e);
1172_logger.LogError("An error has occurred saving the certificate: {Error}.", e);
1188_logger.LogError("An error has occurred while exporting the certificate: {Error}.", error);
1196_logger.LogError("An error has occurred while writing the certificate to disk: {Error}.", error);
1208_logger.LogError("An error has occurred while trusting the certificate: {Error}.", error);
1260_logger.LogError("An error has occurred while removing the certificate from the user store: {Error}.", error);
1296_logger.LogError("An error has occurred while correcting the certificate state: {Error}.", error);
1308_logger.LogError("An error has occurred while importing the certificate to the keychain: {ExitCode}, {Output}", exitCode, output);
1316_logger.LogError("An error has occurred while writing the certificate to disk: {Error}.", error);
1320_logger.LogError("The file '{CertificatePath}' does not exist.", certificatePath);
1324_logger.LogError("One or more HTTPS certificates exist '{CertificateDescription}'.", certificateDescription);
1336_logger.LogError("An error has occurred while loading the certificate from disk: {Error}.", error);
1340_logger.LogError("The provided certificate '{Description}' is not a valid ASP.NET Core HTTPS development certificate.", description);
1356_logger.LogError("An error has occurred while saving certificate '{CertificateThumbprint}' in the user profile folder: {ErrorMessage}.", certificateThumbprint, errorMessage);
1360_logger.LogError("An error has occurred while removing certificate '{CertificateThumbprint}' from the user profile folder: {ErrorMessage}.", certificateThumbprint, errorMessage);
1364_logger.LogError("The file '{Path}' is not a valid certificate.", path);
1412_logger.LogError("Unable to compute the hash of certificate {CertificatePath}. OpenSSL trust is likely in an inconsistent state.", certificatePath);
1416_logger.LogError("Unable to compute the certificate hash: {CertificatePath}. OpenSSL trust is likely in an inconsistent state. {ExceptionMessage}", certificatePath, exceptionMessage);
1420_logger.LogError("Unable to update certificate '{FullName}' in the OpenSSL trusted certificate hash collection - {MaxHashCollisions} certificates have the hash {Hash}.", fullName, maxHashCollisions, hash);
1424_logger.LogError("Unable to update the OpenSSL trusted certificate hash collection: {ExceptionMessage}. Manually rehashing may help. See https://aka.ms/dev-certs-trust for more information.", exceptionMessage);
1520_logger.LogError("Unable to export the certificate since '{CertPath}' already exists. Please remove it.", certPath);
DotNet\DotNetCliRunner.cs (13)
369logger.LogError(
616logger.LogError(
629logger.LogError("Failed to read stdout from the process. This should never happen.");
640logger.LogError("Failed to parse template version from stdout.");
775logger.LogError("Failed to add package {PackageName} with version {PackageVersion} to project {ProjectFilePath}. See debug logs for more details.", packageName, packageVersion, projectFilePath.FullName);
804logger.LogError("Failed to add project {ProjectFilePath} to solution {SolutionFilePath}. See debug logs for more details.", projectFile.FullName, solutionFile.FullName);
831logger.LogError("Failed to get NuGet config paths. Exit code was: {ExitCode}.", exitCode);
1007logger.LogError(
1021logger.LogError("Failed to read stdout from the process. This should never happen.");
1039logger.LogError($"Failed to read JSON returned by the package search. {ex.Message}");
1077logger.LogError("Failed to get NuGet config paths. Exit code was: {ExitCode}.", exitCode);
1117logger.LogError("Failed to list solution projects. Exit code was: {ExitCode}.", exitCode);
1171logger.LogError("Failed to add project reference from {ProjectFile} to {ReferencedProject}. See debug logs for more details.", projectFile.FullName, referencedProject.FullName);
Aspire.Dashboard (3)
Aspire.Hosting (21)
Aspire.Hosting.Azure (1)
Aspire.Hosting.DevTunnels (4)
DevTunnelCliClient.cs (4)
116logger?.LogError("Failed to create dev tunnel '{TunnelId}' (attempt {Attempt} of {MaxAttempts}). Exit code {ExitCode}: {Error}", tunnelId, attempts, _maxCliAttempts, exitCode, error);
204logger?.LogError("Failed to create port '{PortNumber}' for dev tunnel '{TunnelId}' (attempt {Attempt} of {MaxAttempts}). Exit code {ExitCode}: {Error}", portNumber, tunnelId, attempts, _maxCliAttempts, exitCode, error);
277logger?.LogError("CLI call returned non-zero exit code '{ExitCode}'. stderr output:\n{Error}", exitCode, error);
292logger?.LogError("CLI call returned empty output with exit code '{ExitCode}'.", exitCode);
Aspire.Hosting.Redis (2)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (6)
aspire-server (2)
AzureSearch.ApiService (1)
BuildValidator (9)
IIS.FunctionalTests (7)
IIS.LongTests (7)
IIS.NewHandler.FunctionalTests (7)
IIS.ShadowCopy.Tests (4)
IISExpress.FunctionalTests (10)
Interop.FunctionalTests (1)
Microsoft.AspNetCore.Authentication.Twitter (2)
Microsoft.AspNetCore.BrowserTesting (2)
Microsoft.AspNetCore.Hosting.Tests (2)
Microsoft.AspNetCore.Identity (2)
Microsoft.AspNetCore.InternalTesting.Tests (1)
Microsoft.AspNetCore.Server.IISIntegration (1)
Microsoft.AspNetCore.Server.IntegrationTesting (4)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (2)
Microsoft.AspNetCore.SpaProxy (2)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.AspNetCore.WebSockets.ConformanceTests (2)
Microsoft.CodeAnalysis.LanguageServer (10)
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
Microsoft.DotNet.Build.Tasks.Feed (1)
Microsoft.Extensions.Diagnostics.Testing.Tests (13)
Microsoft.Extensions.Telemetry.PerformanceTests (2)