Skip to content

Commit

Permalink
Update src/Diagnostics.HealthChecks/Composables/ObservableHealthCheck.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Neil <[email protected]>
  • Loading branch information
andrei5090 and neilr81 authored Dec 10, 2024
1 parent 38c5f2d commit c3e23bf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ public async Task<HealthCheckResult> CheckHealthAsync(HealthCheckContext context
{
activity?.SetTag("HealthCheckResult", result.Status.ToString());
}
catch (Exception ex) {
catch (Exception ex)
{
m_logger.LogError(Tag.Create(), ex, "'{registrationName}' health check tag addition failed", context.Registration.Name);
}

Expand Down

0 comments on commit c3e23bf

Please sign in to comment.