Typo in check whether ERROR keyword present.