Fixing typo in logging error