From 44938a6cf3a907477fe276c47596ae53476eb2cf Mon Sep 17 00:00:00 2001 From: "sushi.at" Date: Thu, 23 Nov 2023 14:25:06 +0000 Subject: [PATCH] Showing full folder location for crash log in crash event --- OpenSky.Agent/App.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSky.Agent/App.xaml.cs b/OpenSky.Agent/App.xaml.cs index 9852faa..8f6b66c 100644 --- a/OpenSky.Agent/App.xaml.cs +++ b/OpenSky.Agent/App.xaml.cs @@ -313,7 +313,7 @@ private static void AppDispatcherUnhandledException( File.AppendAllText(filePath, crashReport); ModernWpf.MessageBox.Show( - e.Exception.Message + "\r\n\r\nPlease check agent_crash.log for details!", + $"{e.Exception.Message}\r\n\r\nPlease check {filePath} for details!", "Unexpected error!", MessageBoxButton.OK, MessageBoxImage.Error);