Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

2.7.1 Hotfix #909

Merged
merged 2 commits into from
Jun 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## Version 2.7.1
- [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
- [Remove unused reference to System.Net.Http](https://github.com/microsoft/ApplicationInsights-aspnetcore/pull/879)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ public Action<IApplicationBuilder> Configure(Action<IApplicationBuilder> next)
// 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);
};
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>Microsoft.ApplicationInsights.AspNetCore</AssemblyName>
<VersionPrefix>2.7.0</VersionPrefix>
<VersionPrefix>2.7.1</VersionPrefix>
<Authors>Microsoft</Authors>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<AssemblyTitle>Application Insights for ASP.NET Core Web Applications</AssemblyTitle>
Expand Down