-
-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Hi,
I am facing an issue while running the project for the first time after i delete the existing database. The code throws an exception in the following method in "SqlClientDiagnosticSourceListener" class :
private static void ConfigureExceptionTelemetry(DependencyTelemetry telemetry, Exception exception, PropertyFetcher numberFetcher)
{
telemetry.Success = false;
telemetry.Properties["Exception"] = exception.ToInvariantString();
try
{
telemetry.ResultCode = ((int)numberFetcher.Fetch(exception)).ToString(CultureInfo.InvariantCulture);
}
catch (Exception)
{
}
}
If i continue here then the database gets created. Next time when i run the code, i didn't get the error until i delete the database again.
Will be grateful for any help in this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
