194 references to LogError
aspire (47)
Backchannel\AppHostCliBackchannel.cs (1)
384logger.LogError(ex, "Failed to connect to AppHost backchannel. The AppHost must be updated to a version that supports the {BaselineCapability} capability.", BaselineCapability);
Backchannel\AuxiliaryBackchannelMonitor.cs (3)
300logger.LogError(ex, "Error in auxiliary backchannel monitor"); 534logger.LogError(ex, "Failed to connect to socket: {SocketPath}", socketPath); 615logger.LogError(ex, "Failed to connect to socket: {SocketPath}", socketPath);
Backchannel\ExtensionBackchannel.cs (2)
212_logger.LogError(ex, "An unexpected error occurred while trying to connect to the backchannel."); 323_logger.LogError(ex,
Bundles\BundleService.cs (5)
187logger.LogError(ex, "Failed to extract bundle to {Path}", destinationPath); 372logger.LogError(ex, "Failed to promote {TempDir} to {ActiveDir}.", tempDir, activeVersionDir); 537logger.LogError(ex, "Failed to rename legacy directory {Path}.", linkPath); 549logger.LogError(ex, "Failed to create reparse point at {Path} -> {Target}.", linkPath, target); 580logger.LogError(ex, "Rollback failed for link {Path}.", linkPath);
Commands\AppHostLauncher.cs (1)
469logger.LogError(ex, "Failed to start child CLI process");
Commands\DashboardRunCommand.cs (1)
426_logger.LogError(ex, "Failed to start dashboard process: {ManagedPath}", managedPath);
Commands\ExportCommand.cs (2)
122_logger.LogError(ex, "Failed to export telemetry data from dashboard"); 129_logger.LogError(ex, "Failed to export telemetry data");
Commands\TelemetryLogsCommand.cs (1)
159_logger.LogError(ex, "Failed to fetch logs from Dashboard API");
Commands\TelemetrySpansCommand.cs (1)
151_logger.LogError(ex, "Failed to fetch spans from Dashboard API");
Commands\TelemetryTracesCommand.cs (1)
109_logger.LogError(ex, "Failed to fetch traces from Dashboard API");
DotNet\DotNetCliRunner.cs (2)
583logger.LogError( 599logger.LogError(ex, "An unexpected error occurred while trying to connect to the backchannel.");
Interaction\ExtensionInteractionService.cs (1)
723_logger.LogError(ex, "Unexpected error in extension task channel processing loop.");
Mcp\Tools\ExecuteResourceCommandTool.cs (1)
168logger.LogError(ex, "Error executing command '{CommandName}' on resource '{ResourceName}'", commandName, resourceName);
Mcp\Tools\ListConsoleLogsTool.cs (1)
147logger.LogError(ex, "Error retrieving console logs for resource '{ResourceName}'", resourceName);
Mcp\Tools\ListStructuredLogsTool.cs (1)
137logger.LogError(ex, "Failed to fetch structured logs from Dashboard API");
Mcp\Tools\ListTracesTool.cs (1)
137logger.LogError(ex, "Failed to fetch traces from Dashboard API");
Mcp\Tools\ListTraceStructuredLogsTool.cs (1)
127logger.LogError(ex, "Failed to fetch structured logs for trace from Dashboard API");
NuGet\BundleNuGetPackageCache.cs (1)
266_logger.LogError(ex, "Failed to parse search results");
Program.cs (4)
192logger.LogError(ex, "Failed to migrate legacy globalsettings.json to {NewPath}.", newPath); 1090logger.LogError(ex, "Failed to load configuration or start CLI."); 1219logger.LogError(ex, "An unexpected error occurred."); 1244logger.LogError(ex, "Failed to export profile capture.");
Projects\FallbackProjectParser.cs (1)
64_logger.LogError(ex, "Failed to parse project file '{ProjectFile}' using fallback parser", projectFile.FullName);
Projects\GuestAppHostProject.cs (5)
244_logger.LogError(ex, "Failed to load configuration from {Directory}", configDir.FullName); 792_logger.LogError(ex, "Code generation failed for {Language} AppHost", DisplayName); 799_logger.LogError(ex, "Failed to run {Language} AppHost", DisplayName); 1277_logger.LogError(ex, "Failed to publish {Language} AppHost", DisplayName); 1423_logger.LogError(ex, "Failed to connect to AppHost server backchannel");
Projects\PrebuiltAppHostServer.cs (2)
239_logger.LogError(ex, "Failed to prepare prebuilt AppHost server"); 249_logger.LogError(ex, "Failed to prepare prebuilt AppHost server");
Telemetry\AspireCliTelemetry.cs (2)
200_logger.LogError(exception, message); 373_logger.LogError(ex, "Error occurred initializing telemetry service.");
Telemetry\MachineInformationProviderBase.cs (1)
48_logger.LogError(ex, "Unable to calculate MAC address hash.");
Telemetry\UnixMachineInformationProvider.cs (3)
76_logger.LogError(ex, "Unable to create directory. {Directory}", directoryPath); 91_logger.LogError(ex, "Unable to write {Value} to disk. {FullPath}", value, fullPath); 118_logger.LogError(ex, "Unable to read value from {FullPath}", path);
Telemetry\WindowsMachineInformationProvider.cs (2)
37_logger.LogError(ex, "Unable to fetch {Key} value from {RegistryRoot}.", DeviceId, RegistryPathRoot); 51_logger.LogError(ex, "Unable to persist {Key} in {RegistryPath}.", DeviceId, RegistryPathRoot);
Aspire.Dashboard (18)
Components\Controls\Chart\ChartContainer.razor.cs (1)
166Logger.LogError(ex, "Unexpected error in UpdateDataAsync");
Components\Controls\DashboardRunSelect.razor.cs (1)
98Logger.LogError(exception, "Failed to update the pinned state of dashboard run '{RunId}'.", run.RunId);
Components\Interactions\InteractionsProvider.cs (3)
115Logger.LogError(ex, "Unexpected error while displaying interaction dialogs."); 127Logger.LogError(ex, "Unexpected error while watching interactions."); 537Logger.LogError(ex, "Unexpected error while completing notification interaction {InteractionId}.", interaction.InteractionId);
Components\Layout\MainLayout.razor.cs (2)
120Logger.LogError(exception, "Failed to restore dashboard run '{RunId}'. Falling back to the current run.", selectedRunId); 299Logger.LogError(
Components\Pages\ConsoleLogs.razor.cs (1)
1133Logger.LogError(ex, "Error watching logs for resource {ResourceName}.", subscription.Resource.Name);
DashboardWebApplication.cs (1)
475_logger.LogError(ex, "Error initializing telemetry service.");
ServiceClient\DashboardClient.cs (5)
373_logger.LogError(ex, "Error loading data from the resource service. For troubleshooting, see {TroubleshootingUrl}", TroubleshootingUrl); 455_logger.LogError(ex, "Error #{ErrorCount} connecting to the resource service. For troubleshooting, see {TroubleshootingUrl}", errorCount, TroubleshootingUrl); 544_logger.LogError(ex, "Error #{ErrorCount} watching {WatchName}. For troubleshooting, see {TroubleshootingUrl}", retryContext.ErrorCount, actionName, TroubleshootingUrl); 723_logger.LogError(ex, "Error writing to interaction request stream."); 1090_logger.LogError(ex, "Error executing command \"{CommandName}\" on resource \"{ResourceName}\": {StatusCode}", command.Name, resourceName, ex.StatusCode);
src\Shared\TaskHelpers.cs (1)
37logger.LogError(ex, logMessage ?? "Unexpected error.");
Telemetry\TelemetryErrorRecorder.cs (1)
31_logger.LogError(exception, message);
Terminal\TerminalWebSocketProxy.cs (1)
74logger.LogError(ex, "Terminal WebSocket handler {ConnectionId} crashed.", connectionId);
Utils\CallbackThrottler.cs (1)
122_logger.LogError(ex, "Error in callback.");
Aspire.Dashboard.Tests (1)
Integration\ServerRetryHelper.cs (1)
86logger.LogError(ex, "Error running test {retryCount}. Retrying.", retryCount);
Aspire.Hosting (39)
ApplicationModel\ExecutionConfigurationGathererContext.cs (2)
74resourceLogger.LogError(ex, "Failed to resolve environment variable '{EnvironmentVariable}' for resource '{ResourceName}'. A dependency may have failed to start.", kvp.Key, resource.Name); 123resourceLogger.LogError(ex, "Failed to resolve argument for resource '{ResourceName}'. A dependency may have failed to start.", resource.Name);
ApplicationModel\ResourceCommandService.cs (1)
404logger.LogError(ex, "Error executing command '{CommandName}'.", commandName);
Backchannel\AuxiliaryBackchannelRpcTarget.cs (2)
1830logger.LogError(ex, "Error invoking tool {ToolName} on resource {ResourceName}", toolName, resourceName); 1880logger.LogError(ex, "Error while stopping AppHost");
Backchannel\AuxiliaryBackchannelService.cs (3)
74logger.LogError(ex, "Error accepting client connection on auxiliary backchannel."); 85logger.LogError(ex, "Error in auxiliary backchannel service."); 161logger.LogError(ex, "Error handling client connection on auxiliary backchannel");
ConnectionStringBuilderExtensions.cs (1)
108evt.Logger.LogError(ex, "Failed to resolve connection string for resource '{ResourceName}'", r.Name);
Dashboard\DashboardEventHandlers.cs (3)
926defaultDashboardLogger.LogError(ex, "Error reading dashboard logs."); 984defaultDashboardLogger.LogError(ex, "Error reading dashboard logs."); 1053distributedApplicationLogger.LogError(ex, "Unexpected error while watching dashboard logs.");
Dashboard\DashboardService.cs (2)
152logger.LogError(ex, "Error while watching interactions."); 495logger.LogError(ex, "Error executing service method '{Method}'.", serverCallContext.Method);
Dashboard\DashboardServiceData.cs (1)
112logger.LogError(ex, "Error updating resource snapshot for {Name}", @event.Resource.Name);
Dcp\DcpExecutor.cs (3)
1069resourceLogger.LogError(ex, "Failed to create resource {ResourceName}", modelResource.Name); 1111resourceLogger.LogError(ex, "Failed to create resource {ResourceName}", er.ModelResource.Name); 1317_logger.LogError(ex, "Failed to start resource {ResourceName}", resourceReference.ModelResource.Name);
Dcp\DcpHost.cs (1)
289_logger.LogError(ex, "Failed to enable orchestration logging.");
Dcp\DcpResourceWatcher.cs (2)
479_logger.LogError(ex, "Error flushing current logs for {ResourceName}.", resource.Metadata.Name); 666_logger.LogError(ex, "Error streaming logs for {ResourceName}.", resourceName);
Dcp\ExecutableCreator.cs (3)
86resourceLogger.LogError(ex, "{Message}", ex.Message); 96resourceLogger.LogError(ex, "{Message}", failureMessage); 106resourceLogger.LogError(ex, "{Message}", failureMessage);
Dcp\ResourceLogSource.cs (1)
99logger.LogError(ex, "Unexpected error happened when capturing logs for {Kind} {Name}", resource.Kind, resource.Metadata.Name);
Devcontainers\DevcontainerSettingsWriter.cs (1)
92logger.LogError(ex, "Error writing Devcontainer port forwarding settings batch");
ExternalServiceBuilderExtensions.cs (1)
143e.Logger.LogError(ex, "Failed to get value for URL parameter '{ParameterName}'", resource.UrlParameter?.Name);
Health\ResourceHealthCheckService.cs (1)
68logger.LogError(ex, "Unexpected error ended health monitoring for resource '{ResourceName}'.", resourceName);
IInteractionService.cs (1)
216options.Logger.LogError(ex, "Error loading options for input '{InputName}'.", options.Input.Name);
Orchestrator\ApplicationOrchestrator.cs (1)
571resourceLogger.LogError(ex, "An error occurred while processing URLs for resource '{ResourceName}': {Message}", resource.Name, ex.Message);
Orchestrator\ParameterProcessor.cs (2)
94logger.LogError(ex, "Failed to handle unresolved parameters."); 187.LogError(ex, "Failed to initialize parameter resource {ResourceName}.", parameterResource.Name);
Pipelines\DistributedApplicationPipeline.cs (2)
917stepContext.Logger.LogError(ex, "Step '{StepName}' failed.", step.Name); 1027stepContext.Logger.LogError(ex, "Step '{StepName}' failed.", step.Name);
Pipelines\Internal\UserSecretsDeploymentStateManager.cs (1)
49logger.LogError(ex, "Failed to provision Azure resources because user secrets file is not well-formed JSON.");
Publishing\PipelineExecutor.cs (1)
89logger.LogError(ex, ex.Message);
Publishing\ResourceContainerImageManager.cs (2)
319logger.LogError(ex, "Building image for {ResourceName} failed", resource.Name); 515logger.LogError(ex, "Failed to build container image from Dockerfile for {ResourceName}", resource.Name);
src\Shared\TaskHelpers.cs (1)
37logger.LogError(ex, logMessage ?? "Unexpected error.");
Aspire.Hosting.Azure (10)
AzureProvisioningController.cs (3)
1479_logger.LogError(ex, "Azure operation processing failed."); 1635_logger.LogError(ex, "Azure context notification failed."); 4011resourceLogger.LogError(ex, "Error provisioning {ResourceName}.", resource.AzureResource.Name);
AzurePublishingContext.cs (1)
130Logger.LogError(ex, "Failed to write Azure Bicep templates to {OutputPath}", outputPath);
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (5)
75_logger.LogError(ex, "Failed to retrieve Azure provisioning options."); 146_logger.LogError(ex, "Failed to retrieve Azure tenant information."); 245_logger.LogError(ex, "Failed to retrieve Azure subscription information."); 344_logger.LogError(ex, "Failed to retrieve Azure resource group information."); 439_logger.LogError(ex, "Failed to retrieve Azure region information.");
Provisioning\Internal\RunModeProvisioningContextProvider.cs (1)
114_logger.LogError(ex, "Failed to retrieve Azure provisioning options.");
Aspire.Hosting.Azure.Kusto (1)
AzureKustoBuilderExtensions.cs (1)
313logger.LogError(e, "Failed to create database '{DatabaseName}'", databaseResource.DatabaseName);
Aspire.Hosting.Browsers (2)
BrowserLogsCdpConnectionMultiplexer.cs (1)
105_logger.LogError(ex, "Tracked browser CDP event handler failed for subscription '{SubscriptionId}'.", subscription.Id);
BrowserLogsSessionManager.cs (1)
122resourceLogger.LogError(ex, "[{SessionId}] Failed to open tracked browser for '{Url}'.", sessionId, url);
Aspire.Hosting.Browsers.Tests (2)
src\Aspire.Hosting.Browsers\BrowserLogsCdpConnectionMultiplexer.cs (1)
105_logger.LogError(ex, "Tracked browser CDP event handler failed for subscription '{SubscriptionId}'.", subscription.Id);
src\Aspire.Hosting.Browsers\BrowserLogsSessionManager.cs (1)
122resourceLogger.LogError(ex, "[{SessionId}] Failed to open tracked browser for '{Url}'.", sessionId, url);
Aspire.Hosting.DevTunnels (2)
DevTunnelCliClient.cs (1)
338logger?.LogError(ex, "Failed to parse JSON output into type '{TypeName}':\n{Output}", typeof(T).Name, output);
DevTunnelResourceBuilderExtensions.cs (1)
219portLogger.LogError(ex, "Error trying to create dev tunnel port '{Port}' on tunnel '{Tunnel}': {Error}", tunnelPort, portResource.DevTunnel.TunnelId, ex.Message);
Aspire.Hosting.Dotnet (1)
DotnetProjectBuildCoordinator.cs (1)
1180logger.LogError(
Aspire.Hosting.EntityFrameworkCore (2)
EFMigrationResourceBuilderExtensions.cs (1)
79logger.LogError(ex, "EF Core database update on startup failed for resource '{ResourceName}'.", migrationResource.Name);
EFResourceBuilderExtensions.cs (1)
891logger.LogError(ex, "EF Core {Operation} command failed with exception.", operationDisplayName);
Aspire.Hosting.Foundry (3)
PromptAgent\AzurePromptAgentResource.cs (1)
378logger.LogError(ex, "Failed to deploy prompt agent '{AgentName}'", Name);
Toolbox\FoundryToolboxResource.cs (2)
397logger.LogError(ex, "Failed to validate existing Toolbox '{ToolboxName}'.", Name); 401logger.LogError(ex, "Failed to reconcile Toolbox '{ToolboxName}'.", Name);
Aspire.Hosting.Maui (3)
Lifecycle\MauiBuildQueueEventSubscriber.cs (1)
366logger.LogError(stopException, "Failed to stop Android resource '{ResourceName}' after its launch handoff timed out. The build lock will remain held until the application stops.", resource.Name);
Utilities\MauiAndroidEnvironmentAnnotation.cs (1)
106logger.LogError(ex, "Failed to configure Android environment variables");
Utilities\MauiiOSEnvironmentAnnotation.cs (1)
106logger.LogError(ex, "Failed to configure iOS environment variables");
Aspire.Hosting.MySql (1)
MySqlBuilderExtensions.cs (1)
188logger.LogError(e, "Failed to create database '{DatabaseName}'", sqlDatabase.DatabaseName);
Aspire.Hosting.PostgreSQL (1)
PostgresBuilderExtensions.cs (1)
773logger.LogError(e, "Failed to create database '{DatabaseName}'", npgsqlDatabase.DatabaseName);
Aspire.Hosting.Radius (2)
Publishing\RadiusBicepPublishingContext.cs (1)
116logger.LogError(ex,
Publishing\RadiusDeploymentPipelineStep.cs (1)
238logger.LogError(ex, "Unexpected error during rad deploy for environment '{EnvironmentName}'", _environment.Name);
Aspire.Hosting.RemoteHost (11)
Ats\CapabilityDispatcher.cs (1)
602_logger.LogError(ex, "Capability {CapabilityId} failed with {ExceptionType}: {Message}", capabilityId, ex.GetType().Name, ex.Message);
CodeGeneration\CodeGenerationService.cs (3)
93_logger.LogError(ex, "<< getCapabilities() failed"); 268_logger.LogError(ex, "<< generateCode({Language}) failed", language); 361_logger.LogError(ex, "<< exportApi({Language}, {PackageName}) failed", language, packageName);
JsonRpcServer.cs (3)
128_logger.LogError(ex, "Error in server loop, retrying in 1 second..."); 190_logger.LogError(ex, "Error in server loop, retrying in 1 second..."); 278_logger.LogError(ex, "Client {ClientId} unexpected error", clientId);
Language\LanguageService.cs (3)
76_logger.LogError(ex, "<< scaffoldAppHost({Language}) failed", language); 115_logger.LogError(ex, "<< detectAppHostType({DirectoryPath}) failed", directoryPath); 149_logger.LogError(ex, "<< getRuntimeSpec({Language}) failed", language);
RemoteAppHostService.cs (1)
158_logger.LogError(ex, " invokeCapability({CapabilityId}) Exception: {ExceptionType} - {Message}", capabilityId, ex.GetType().Name, ex.Message);
Aspire.Hosting.SqlServer (1)
SqlServerBuilderExtensions.cs (1)
334logger.LogError(e, "Failed to create database '{DatabaseName}'", sqlDatabase.DatabaseName);
Aspire.Hosting.Testing.Tests (1)
tests\Aspire.Hosting.TestUtilities\Utils\LoggerNotificationExtensions.cs (1)
155logger.LogError(ex, "An error occurred while watching for resource notifications.");
Aspire.Hosting.Tests (1)
Backchannel\BackchannelLoggerProviderTests.cs (1)
61logger.LogError(exception, "Request failed");
Aspire.Hosting.TestUtilities (1)
Utils\LoggerNotificationExtensions.cs (1)
155logger.LogError(ex, "An error occurred while watching for resource notifications.");
Aspire.Playground.Tests (1)
tests\Aspire.Hosting.TestUtilities\Utils\LoggerNotificationExtensions.cs (1)
155logger.LogError(ex, "An error occurred while watching for resource notifications.");
Aspire.TerminalHost (5)
DcpUpstreamAdapter.cs (1)
225_logger.LogError(ex, "DcpUpstreamAdapter: streamFactory failed.");
TerminalHostApp.cs (2)
151_logger.LogError(fault, "Replica recycle loop terminated with a fault; exiting non-zero."); 170_logger.LogError(ex, "Terminal host failed.");
TerminalReplica.cs (2)
239_logger.LogError(ex, "Replica BuildTerminal threw."); 266_logger.LogError(ex, "Replica cycle threw.");
AzureSearch.ApiService (1)
Program.cs (1)
168logger.LogError(ex, "Failed to index some of the documents");
EventHubsConsumer (1)
Processor.cs (1)
40logger.LogError(args.Exception, "Error processing message: {Error}", args.Exception.Message);
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.Prerendering.cs (1)
186_logger.LogError(
Microsoft.AspNetCore.Components.Server (1)
Circuits\RevalidatingServerAuthenticationStateProvider.cs (1)
98_logger.LogError(ex, "An error occurred while revalidating authentication state");
Microsoft.AspNetCore.Components.WebAssembly (1)
Services\WebAssemblyErrorBoundaryLogger.cs (1)
22_errorBoundaryLogger.LogError(exception, exception.ToString());
Microsoft.AspNetCore.Components.WebView (1)
Services\WebViewErrorBoundaryLogger.cs (1)
22_errorBoundaryLogger.LogError(exception, exception.ToString());
Microsoft.AspNetCore.Components.WebView.Maui (2)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
179 _logger.LogError(ex, $"Failed to notify about static content update to {relativePath}.");
src\Core\src\TaskExtensions.cs (1)
62 logger?.LogError(ex, "Unexpected exception in {Member}.", callerName);
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
179 _logger.LogError(ex, $"Failed to notify about static content update to {relativePath}.");
Microsoft.AspNetCore.Components.WebView.Wpf (1)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
179 _logger.LogError(ex, $"Failed to notify about static content update to {relativePath}.");
Microsoft.AspNetCore.InternalTesting (1)
LoggedTest\LoggedTestBase.cs (1)
127Logger.LogError(exception, "Test threw an exception.");
Microsoft.AspNetCore.Server.HttpSys (1)
src\aspnetcore\src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
170_logger?.LogError(ex, "Error while performing eviction in PinnedBlockMemoryPool.");
Microsoft.AspNetCore.Server.IIS (1)
src\aspnetcore\src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
170_logger?.LogError(ex, "Error while performing eviction in PinnedBlockMemoryPool.");
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Infrastructure\KestrelConnection.cs (3)
121Logger.LogError(ex, "An error occurred running an IConnectionCompleteFeature.OnCompleted callback."); 136Logger.LogError(ex, "An error occurred running an IConnectionCompleteFeature.OnCompleted callback."); 147Logger.LogError(ex, "An error occurred running an IConnectionCompleteFeature.OnCompleted callback.");
src\aspnetcore\src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
170_logger?.LogError(ex, "Error while performing eviction in PinnedBlockMemoryPool.");
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls (1)
TlsEventPump.cs (1)
488_logger.LogError(ex, "Pump {Id} encountered an exception in PumpLoop", _id);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\aspnetcore\src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
170_logger?.LogError(ex, "Error while performing eviction in PinnedBlockMemoryPool.");
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (4)
src\aspnetcore\src\Servers\Kestrel\shared\ConnectionCompletion.cs (3)
36logger.LogError(ex, "An error occurred running an IConnectionCompleteFeature.OnCompleted callback."); 51logger.LogError(ex, "An error occurred running an IConnectionCompleteFeature.OnCompleted callback."); 62logger.LogError(ex, "An error occurred running an IConnectionCompleteFeature.OnCompleted callback.");
src\aspnetcore\src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
170_logger?.LogError(ex, "Error while performing eviction in PinnedBlockMemoryPool.");
Microsoft.AspNetCore.SpaProxy (3)
SpaProxyLaunchManager.cs (2)
61_logger.LogError(ex, "There was an error trying to launch the SPA proxy."); 214_logger.LogError(exception, $"Failed to launch the SPA development server '{_options.LaunchCommand}'.");
SpaProxyStartupFilter.cs (1)
47_logger.LogError(ex, "There was an error trying to launch the SPA proxy.");
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
MSBuild\BuildHostProcessManager.cs (3)
175_logger?.LogError(e, "Failed to initialize BuildHost process."); 548_logger?.LogError(e, "Exception while shutting down the BuildHost process."); 566_logger?.LogError(e, "Exception while trying to kill the BuildHost process.");
Microsoft.Extensions.AI.Evaluation.Console (1)
Utilities\LoggerExtensions.cs (1)
14logger.LogError(exception, message: null);
Microsoft.Extensions.Caching.Memory (1)
CacheEntry.CacheEntryTokens.cs (1)
143entry._cache._logger.LogError(e, "EvictionCallback invoked failed");
Microsoft.Extensions.ServiceDiscovery (2)
ServiceEndpointWatcher.cs (2)
220_logger.LogError(exception, "Error notifying observers of updated endpoints."); 278_logger.LogError(exception, "Error cancelling disposal cancellation token.");
Microsoft.Maui (3)
Handlers\HybridWebView\HybridWebViewHandler.cs (1)
199 MauiContext?.CreateLogger<HybridWebViewHandler>()?.LogError(ex, "An error occurred while invoking a .NET method from JavaScript: {ErrorMessage}", ex.Message);
Hosting\EssentialsMauiAppBuilderExtensions.cs (1)
162 .LogError(ex, "App Actions are not supported on this platform.");
TaskExtensions.cs (1)
62 logger?.LogError(ex, "Unexpected exception in {Member}.", callerName);
Microsoft.Maui.Maps (1)
src\Core\src\TaskExtensions.cs (1)
62 logger?.LogError(ex, "Unexpected exception in {Member}.", callerName);
ServiceBusWorker (1)
Consumer.cs (1)
27logger.LogError(args.Exception, "Error processing message");