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

Commit

Permalink
2.7.1 Hotfix (#909)
Browse files Browse the repository at this point in the history
* ApplicationInsights StartupFilter should not swallow exceptions from downstream ApplicationBuilder (#899)

* bump to 2.7.1 hotfix
  • Loading branch information
cijothomas authored Jun 21, 2019
1 parent 61cb449 commit 05e634b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
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

0 comments on commit 05e634b

Please sign in to comment.