Fixed error in error handling of errors. ERROR!
Web server now logs errors.