Include variable name in error message