Add variable name to exceptions