-
Notifications
You must be signed in to change notification settings - Fork 294
Open
Description
Line 88 in 18ffbf6
public static IServiceCollection AddApplicationInsightsTelemetryWorkerService(this IServiceCollection services) |
Why regestring this in a try/catch ??
When we start the application, with wrong applicationinsight settings, nothing craches, but when we use the 'TelemetryClient' by dependency injection it does.
The service is not registred and the application crashes.
So, why not remove the try/catch.
When we want to register the ApplicationInsights, and something is wrong in registring all the dependencies, we want to know on start and the application should not be running at all
Metadata
Metadata
Assignees
Labels
No labels