Open jbothma opened 6 years ago
this is the relevant code - https://github.com/frictionlessdata/datapackage-pipelines/blob/master/datapackage_pipelines/cli.py#L110
I think that we need to add a condition there, something like -
if len(results) == 0:
exitcode=1
also, output a friendly error message -
no results, please check the pipeline id / processor names
also, you can add this condition to our cli exit codes test.. https://github.com/frictionlessdata/datapackage-pipelines/blob/master/tests/exit-codes/test_cli_exit_codes.sh
Good suggestion. On it.
In order to submit an issue, please ensure you can check the following. Thanks!
[x ] Declare which version of Python you are using (
python --version
)[ x] Declare which operating system you are using
python 3.6.4
datapackage-pipelines 1.5.4
operating system: iinux (arch)
Running
outputs
and exists with exit code zero giving no feedback that something went wrong or what went wrong.