Might be helpful to include the tag name in the error.