Fix typo
Display error message for fail case