You can try commenting out the `logger.warn` to see if that fixes it.