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

How do i get more error details in my output? #310

Closed
richnsoos opened this issue Sep 12, 2017 · 2 comments
Closed

How do i get more error details in my output? #310

richnsoos opened this issue Sep 12, 2017 · 2 comments

Comments

@richnsoos
Copy link

We use the asciidoctor maven plugin to build our tech docs. When building we see WARNs and ERRORs but there is not enough details to identify source of found build error. We have over 30 README.adoc files. How can we increase the asciidoctor ERROR and WARNING details?

asciidoctor: ERROR: t/README.adoc: line 56: table missing leading separator, recovering automatically
asciidoctor: WARNING: E.adoc: line 101: section title out of sequence: expected level 4, got level 5
asciidoctor: WARNING: E.adoc: line 108: section title out of sequence: expected level 4, got level 5
asciidoctor: WARNING: README.adoc: line 116: section title out of sequence: expected level 2, got level 3
asciidoctor: WARNING: README.adoc: line 121: section title out of sequence: expected level 2, got level 3
asciidoctor: WARNING: README.adoc: line 128: section title out of sequence: expected level 2, got level 3
asciidoctor: WARNING: README.adoc: line 231: section title out of sequence: expected level 2, got level 3
asciidoctor: WARNING: README.adoc: line 338: section title out of sequence: expected level 2, got level 3
asciidoctor: WARNING: adoc: line 70: section title out of sequence: expected level 3, got level 4
asciidoctor: WARNING: adoc: line 76: section title out of sequence: expected level 3, got level 4
asciidoctor: ERROR: t/README.adoc: line 56: table missing leading separator, recovering automatically
asciidoctor: WARNING: E.adoc: line 101: section title out of sequence: expected level 4, got level 5
asciidoctor: WARNING: E.adoc: line 108: section title out of sequence: expected level 4, got level 5
@mojavelinux
Copy link
Member

I ran into the same problem when working on a docs site recently. This is something that will be solved by asciidoctor/asciidoctor#44. It's next on my list of major features to tackle. The error message is simply not including enough context (and it's being fed into a logging system where more context could be added).

@abelsromero
Copy link
Member

This has already been handled with several improvements in error handling in latests releases.

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

No branches or pull requests

3 participants