Skip to content

Commit

Permalink
Merge pull request #25 from MindscapeHQ/ro/unobserved-task-exception-fix
Browse files Browse the repository at this point in the history
Bump to v11.1.2 of Raygun4Net and add example of UnobservedTaskException
  • Loading branch information
ProRedCat authored Nov 12, 2024
2 parents 22d23b2 + e3b323f commit 015e5d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions Raygun4Maui.SampleApp/PageLoadTest.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ protected override async void OnNavigatedTo(NavigatedToEventArgs args)

private async void OnNavigateButtonClicked(object sender, EventArgs e)
{
var task = Task.Run(() =>
{
throw new ApplicationException("This exception will be unobserved");
});

RaygunBreadcrumbs.Record("Breadcrumbs!!");

RaygunBreadcrumbs.Record(new RaygunBreadcrumb()
Expand Down
6 changes: 3 additions & 3 deletions Raygun4Maui/Raygun4Maui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>2.2.0</Version>
<PackageVersion>2.2.0</PackageVersion>
<Version>2.2.1</Version>
<PackageVersion>2.2.1</PackageVersion>
<Authors>Raygun</Authors>
<Company>Raygun</Company>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down Expand Up @@ -106,7 +106,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" />
<PackageReference Include="Mindscape.Raygun4Net.NetCore" Version="11.1.0" />
<PackageReference Include="Mindscape.Raygun4Net.NetCore" Version="11.1.2" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0-android'">
Expand Down

0 comments on commit 015e5d9

Please sign in to comment.