Fair point. I've added a logger and change all error messages to use the logger.