From b293c00d0f64cd64472be034b8eacf8f4534eb01 Mon Sep 17 00:00:00 2001 From: Tian Liao Date: Tue, 23 Apr 2024 20:05:46 +0800 Subject: [PATCH] trace error --- src/Calculator/App.xaml.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Calculator/App.xaml.cs b/src/Calculator/App.xaml.cs index 9ecfaa03..4a29d0d6 100644 --- a/src/Calculator/App.xaml.cs +++ b/src/Calculator/App.xaml.cs @@ -186,8 +186,9 @@ namespace CalculatorApp await jumpList.SaveAsync(); } - catch + catch (Exception ex) { + TraceLogger.GetInstance().LogError(ViewMode.None, nameof(SetupJumpListAsync), ex.ToString()); #if DEBUG throw; #endif