Showing invalid label as error not exception. Fixes #1721