Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Schema Feedback #48

Open
AstraLuma opened this issue May 9, 2020 · 1 comment
Open

Better Schema Feedback #48

AstraLuma opened this issue May 9, 2020 · 1 comment

Comments

@AstraLuma
Copy link

When writing a schema file, the feedback you get is pretty vague (from gt):

Error on import gadget
Error: USBG_ERROR_MISSING_TAG : One of mandatory tags is missing.

It gives no indication of what tag it's expecting or where it's looking for it, leaving me to kinda just guess and hope for the best.

@pabs3
Copy link
Member

pabs3 commented Jul 13, 2021

@AstraLuma if you grep the code for USBG_ERROR_MISSING_TAG, you will see there are a number of different ways this error message can be set. In summary it could be interface, type, function, instance, lang, name, id and possibly some more. The code probably needs adapting to pass through the particular mandatory tag that is missing. We would welcome help with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants