1
0
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:
chylex 2015-04-07 21:30:20 +02:00
parent 067eef65ee
commit a4c64fb31c

View File

@ -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
}
}