From 12efbfb18df6485f69939abbe1f39ec9b2864f97 Mon Sep 17 00:00:00 2001 From: Daniel Hindrikes Date: Fri, 18 Oct 2024 08:11:21 +0200 Subject: [PATCH] Custom Exception fix --- TinyInsights.TestApp/CustomException.cs | 10 +++++ TinyInsights.TestApp/MainPage.xaml | 10 ++++- TinyInsights.TestApp/MainPage.xaml.cs | 7 +++- TinyInsights/ApplicationInsightsProvider.cs | 1 - TinyInsights/Crash.cs | 43 +++++++++++++++------ 5 files changed, 55 insertions(+), 16 deletions(-) create mode 100644 TinyInsights.TestApp/CustomException.cs diff --git a/TinyInsights.TestApp/CustomException.cs b/TinyInsights.TestApp/CustomException.cs new file mode 100644 index 0000000..b863f0f --- /dev/null +++ b/TinyInsights.TestApp/CustomException.cs @@ -0,0 +1,10 @@ +namespace TinyInsights.TestApp; + +public class BaseException : Exception +{ +} + + +public class CustomException : BaseException +{ +} diff --git a/TinyInsights.TestApp/MainPage.xaml b/TinyInsights.TestApp/MainPage.xaml index da3f46e..5c9c2c2 100644 --- a/TinyInsights.TestApp/MainPage.xaml +++ b/TinyInsights.TestApp/MainPage.xaml @@ -29,9 +29,15 @@ Clicked="TrackHttpButton_OnClicked" Text="Track http request" />