Suppress unexpected error when pattern doesn't set while validating