24 references to RecordError
aspire (20)
Commands\AddCommand.cs (2)
516Telemetry.RecordError(ex.Message, ex); 528Telemetry.RecordError(errorMessage, ex);
Commands\BaseCommand.cs (2)
223Telemetry.RecordError(errorMessage, ex); 357telemetry.RecordError(errorMessage, ex);
Commands\CacheCommand.cs (1)
68Telemetry.RecordError(errorMessage, ex);
Commands\ConfigCommand.cs (2)
205Telemetry.RecordError(errorMessage, ex); 443Telemetry.RecordError(errorMessage, ex);
Commands\IntegrationSearchCommand.cs (1)
159Telemetry.RecordError(errorMessage, ex);
Commands\PipelineCommandBase.cs (5)
462Telemetry.RecordError($"AppHost is incompatible. Required capability: {ex.RequiredCapability}", ex); 468Telemetry.RecordError($"AppHost is incompatible. Required capability: {ListStepsCapability}", ex); 475Telemetry.RecordError("Failed to connect to AppHost backchannel.", ex); 488Telemetry.RecordError("Connection to AppHost was lost unexpectedly.", ex); 501Telemetry.RecordError("An unexpected error occurred during pipeline execution.", ex);
Commands\RestoreCommand.cs (1)
183Telemetry.RecordError(errorMessage, ex);
Commands\RunCommand.cs (2)
721Telemetry.RecordError(ex.Message, ex); 749Telemetry.RecordError(errorMessage, ex);
Commands\UpdateCommand.cs (3)
555Telemetry.RecordError(message, ex); 561Telemetry.RecordError(message, ex); 930Telemetry.RecordError("Failed to update CLI", ex);
Program.cs (1)
1350telemetry.RecordError("An unexpected error occurred.", ex);
Aspire.Cli.Tests (4)
Telemetry\AspireCliTelemetryTests.cs (3)
168fixture.Telemetry.RecordError("Error occurred", exception); 252fixture.Telemetry.RecordError("Local error", exception); 271fixture.Telemetry.RecordError("Error occurred", exception);
Telemetry\ReportedLogExportTests.cs (1)
174telemetry.RecordError("Local error", new InvalidOperationException("reported error"));