Typo in error logging.