Skip to content

Commit

Permalink
Showing full folder location for crash log in crash event
Browse files Browse the repository at this point in the history
  • Loading branch information
sushiat committed Nov 23, 2023
1 parent 7cfcd7e commit 44938a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenSky.Agent/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 44938a6

Please sign in to comment.