Skip to content

Conversation

@quintesse
Copy link
Contributor

Fixes #2240

@maxandersen
Copy link
Collaborator

its useful for humans - but I think we'll want to add something more structured into the json output that tools can just show possibly even try provide fixes for it.

@maxandersen
Copy link
Collaborator

am I missing something here or are you assuming there will only ever be one error during jbang info gathering? isn't there option of mulitiple errror places?

@quintesse
Copy link
Contributor Author

am I missing something here or are you assuming there will only ever be one error during jbang info gathering?

See my comment here #2240 (comment)

String gav;
String module;
Map<String, List<ProjectFile>> docs;
String error;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know we don't have multiple errors at this moment but I do think we will so how about we make this one an array/list and ensure we dont break parsing.

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

Successfully merging this pull request may close these issues.

jbang info tools does not report errors

2 participants