mirror of
https://github.com/chylex/Backup-Essentials.git
synced 2025-06-20 06:40:00 +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){
|
private void HandleException(object sender, DispatcherUnhandledExceptionEventArgs e){
|
||||||
|
using(StreamWriter writer = new StreamWriter(new FileStream("exceptions.log",FileMode.Append))){
|
||||||
|
writer.WriteLine(e.ToString());
|
||||||
|
}
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user