removed duplicate OnError-Handler (one used in Application, one unused in Log)