reanahub / reana-client

REANA command-line client
http://reana-client.readthedocs.io/
MIT License
10 stars 45 forks source link

cli: `start` showing success message when workflow fails #629

Closed BrunoRosendo closed 1 year ago

BrunoRosendo commented 1 year ago

In the start command, when including the --follow flag, the program prints a success message when the workflow stops, even if it was stopped or failed, resulting in a message like ==> SUCCESS: workflow has been failed.

We should improve this behavior and only display a success message when the workflow finished correctly. For the other cases, an error or info message is probably more better.