You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Jon Zeolla (JIRA)" <ji...@apache.org> on 2017/06/12 17:24:00 UTC

[jira] [Updated] (METRON-720) modify generate-md.sh to re-throw errors from within 'find'

     [ https://issues.apache.org/jira/browse/METRON-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Zeolla updated METRON-720:
------------------------------
    Fix Version/s:     (was: 0.3.2)
                   0.4

> modify generate-md.sh to re-throw errors from within 'find'
> -----------------------------------------------------------
>
>                 Key: METRON-720
>                 URL: https://issues.apache.org/jira/browse/METRON-720
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.3.1
>            Reporter: Matt Foley
>            Assignee: Matt Foley
>             Fix For: 0.4
>
>
> In the site-book build tools, bin/generate-md.sh invokes bin/fix-md-dialect.py from within a `find -exec` context.  If fix-md-dialect.py encounters errors, it outputs error messages on stderr, but these messages may get lost in the rest of the output, and the exit status of the script just indicates success.
> Modify the invocation of `find` to capture the error condition, complain about it in a way that does not get lost amongst the other output, and cause bin/generate-md.sh to exit with a failure condition.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)