Skip to content

Commit

Permalink
Bump Sentry.Serilog from 3.39.1 to 5.0.1 (#1199)
Browse files Browse the repository at this point in the history
Bumps [Sentry.Serilog](https://github.com/getsentry/sentry-dotnet) from 3.39.1 to 5.0.1.
- [Release notes](https://github.com/getsentry/sentry-dotnet/releases)
- [Changelog](https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md)
- [Commits](getsentry/sentry-dotnet@3.39.1...5.0.1)

---
updated-dependencies:
- dependency-name: Sentry.Serilog
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jan 30, 2025
1 parent d26b413 commit faba86e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public static IMotorHostBuilder ConfigureSentry(this IMotorHostBuilder hostBuild
{
var sentryOptions = new SentrySerilogOptions();
context.Configuration.GetSection("Sentry").Bind(sentryOptions);
sentryOptions.Dsn ??= string.Empty;
SentrySdk.Init(sentryOptions);
services.AddTransient<IOptions<SentrySerilogOptions>>(_ => MSOptions.Create(sentryOptions));
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.1" />
<PackageReference Include="Sentry.Serilog" Version="3.39.1" />
<PackageReference Include="Sentry.Serilog" Version="5.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit faba86e

Please sign in to comment.