mirror of
https://github.com/chylex/Backup-Essentials.git
synced 2025-08-16 05:31:43 +02:00
Added exception printing into a text file
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user