Throwing error on bad label and not exception