diff --git a/BackupEssentials/App.xaml.cs b/BackupEssentials/App.xaml.cs index 0b71c22..e90ce0e 100644 --- a/BackupEssentials/App.xaml.cs +++ b/BackupEssentials/App.xaml.cs @@ -50,6 +50,10 @@ namespace BackupEssentials{ } private void HandleException(object sender, DispatcherUnhandledExceptionEventArgs e){ + using(StreamWriter writer = new StreamWriter(new FileStream("exceptions.log",FileMode.Append))){ + writer.WriteLine(e.ToString()); + } + // TODO } }