1
0
Форкнуть 0

ApplicationInsights StartupFilter should not swallow exceptions from downstream ApplicationBuilder

This commit is contained in:
Cijo Thomas 2019-06-05 00:26:23 -07:00
Родитель 5e9b403a31
Коммит 4e6cbd4e36
2 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -1,7 +1,8 @@
# Changelog
## Version develop
## Version 2.8.0-beta1
- [Fix: Add `IJavaScriptSnippet` service interface and update the `IServiceCollection` extension to register it for `JavaScriptSnippet`.](https://github.com/microsoft/ApplicationInsights-aspnetcore/issues/890)
- [Fix - ApplicationInsights StartupFilter should not swallow exceptions from downstream ApplicationBuilder.](https://github.com/microsoft/ApplicationInsights-aspnetcore/issues/897)
## Version 2.7.0
- Updated Web/Base SDK version dependency to 2.10.0

Просмотреть файл

@ -23,12 +23,14 @@
// via <see cref="TelemetryConfigurationOptionsSetup"/> class which triggers
// initialization of TelemetryModules and construction of TelemetryProcessor pipeline.
var tc = app.ApplicationServices.GetService<TelemetryConfiguration>();
next(app);
}
catch (Exception ex)
{
AspNetCoreEventSource.Instance.LogWarning(ex.Message);
}
// Invoking next builder is not wrapped in try catch to ensure any exceptions gets propogated up.
next(app);
};
}
}