188 references to LogError
aspire (57)
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)
377logger.LogError(
549logger.LogError(
562logger.LogError("Failed to read stdout from the process. This should never happen.");
573logger.LogError("Failed to parse template version from stdout.");
727logger.LogError("Failed to add package {PackageName} with version {PackageVersion} to project {ProjectFilePath}. See debug logs for more details.", packageName, packageVersion, projectFilePath.FullName);
756logger.LogError("Failed to add project {ProjectFilePath} to solution {SolutionFilePath}. See debug logs for more details.", projectFile.FullName, solutionFile.FullName);
783logger.LogError("Failed to get NuGet config paths. Exit code was: {ExitCode}.", exitCode);
959logger.LogError(
973logger.LogError("Failed to read stdout from the process. This should never happen.");
991logger.LogError($"Failed to read JSON returned by the package search. {ex.Message}");
1029logger.LogError("Failed to get NuGet config paths. Exit code was: {ExitCode}.", exitCode);
1069logger.LogError("Failed to list solution projects. Exit code was: {ExitCode}.", exitCode);
1123logger.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 (23)
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.RemoteHost (2)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (6)
AzureSearch.ApiService (1)
dotnet-format (4)
dotnet-watch (14)
Program.cs (10)
124logger.LogError(Resources.The_specified_path_0_is_invalid_1, options.FilePath, e.Message);
144logger.LogError(Resources.Could_not_find_msbuild_project_file_in_0, projectPath);
193logger.LogError(Resources.The_specified_path_0_is_invalid_1, projectPath, e.Message);
207logger.LogError(Resources.The_specified_path_0_is_invalid_1, projectPath, e.Message);
213logger.LogError(Resources.Error_MultipleProjectsFound, projectPath);
221logger.LogError(Resources.Could_not_find_msbuild_project_file_in_0, projectPath);
236logger.LogError(Resources.Error_ProjectPath_NotFound, projectPath);
261logger.LogError("--list does not support file-based programs");
283logger.LogError("File-based programs are only supported when Hot Reload is enabled");
300logger.LogError("An unexpected error occurred: {Exception}", e.ToString());
Microsoft.AspNetCore.Identity (2)
Microsoft.AspNetCore.Server.IISIntegration (1)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
Microsoft.DotNet.HotReload.Watch (28)
Microsoft.Extensions.Diagnostics.Testing.Tests (13)
Microsoft.Extensions.Telemetry.PerformanceTests (2)
Microsoft.NET.Build.Containers (12)
ContainerBuilder.cs (10)
83logger.LogError(Resource.FormatString(nameof(Strings.RepositoryNotFound), baseImageName, baseImageTag, baseImageDigest, registry.RegistryName));
88logger.LogError(Resource.FormatString(nameof(Strings.UnableToAccessRepository), baseImageName, registry.RegistryName));
93logger.LogError(e.Message);
134logger.LogError(Resource.GetString(nameof(s)));
138logger.LogError(Resource.FormatString(nameof(s), a));
228logger.LogError(Resource.FormatString(nameof(Strings.LocalRegistryNotAvailable)));
239logger.LogError(Resource.FormatString(nameof(Strings.UnableToDownloadFromRepository)), sourceImageReference);
244logger.LogError(Resource.FormatString(nameof(Strings.RegistryOutputPushFailed), ex.Message));
266logger.LogError(Resource.FormatString(nameof(Strings.UnableToDownloadFromRepository)), sourceImageReference);
271logger.LogError(Resource.FormatString(nameof(Strings.RegistryOutputPushFailed), e.Message));
Microsoft.TemplateEngine.Edge (9)