Improve debugability of error message for a malformed highlight tag 

I didn't add a test case since this change is tiny.

Is that ok or should I add a test that checks that the error message matches?