`.error` is probably not right if you're not going to raise an error. I would suggest `self.config.logger.warning` instead.