typo fix in logger.error message