Log errors that occur in the EventListener