mirror of
https://github.com/chylex/Backup-Essentials.git
synced 2025-05-15 07:34:09 +02:00
Added exception printing into a text file
This commit is contained in:
parent
067eef65ee
commit
a4c64fb31c
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user