Logging error handler exceptions