Fix minor typo in logging.warn statement