Skip to content

Commit

Permalink
adjust exception logging too
Browse files Browse the repository at this point in the history
  • Loading branch information
Twinki14 committed Dec 5, 2023
1 parent bfb2f0b commit 43884ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TinyHealthCheck/HealthCheckService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected override async Task ExecuteAsync(CancellationToken cancellationToken)
}
catch (Exception e)
{
_logger.LogError(e, "TinyHealthCheck had an exception!");
_logger.LogError(e, "TinyHealthCheck<{TypeName}> encountered an exception!", _typeName);
}
}

Expand Down

0 comments on commit 43884ca

Please sign in to comment.