Skip to content
This repository was archived by the owner on Aug 4, 2020. It is now read-only.
This repository was archived by the owner on Aug 4, 2020. It is now read-only.

Output sphinx error message on report generation error #2

@ArturGajowy

Description

@ArturGajowy

When there are syntax errors in .rst files, an attempt to generate the sphinx report ends with

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58.042 s
[INFO] Finished at: 2017-01-02T21:48:35+01:00
[INFO] Final Memory: 60M/597M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.airlift.maven.plugins:sphinx-maven-plugin:2.0:generate (default) on project presto-docs: Failed to run the report: Sphinx report generation failed -> [Help 1]
[ERROR] 

Running with -e does not improve on that.

The expected behaviour would be to output the sphinx error message unchanged.

Note: sphinx outputs errors using stderr, at least on my machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions