Skip to content

Commit

Permalink
cli: returns proper msg in case workflow does not exist
Browse files Browse the repository at this point in the history
* Closes #368
  • Loading branch information
Rokas Maciulaitis committed Feb 7, 2020
1 parent 235561b commit e2866d1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions reana_client/cli/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,15 +670,6 @@ def workflow_logs(ctx, workflow, access_token, json_format): # noqa: D301
click.echo('\n')
click.secho('engine internal logs'.upper(), fg='green')
click.secho(workflow_logs['engine_specific'])

except Exception as e:
logging.debug(traceback.format_exc())
logging.debug(str(e))
click.echo(
click.style('Workflow status could not be retrieved: \n{}'
.format(str(e)), fg='red'),
err=True)
click.echo(response)
except Exception as e:
logging.debug(traceback.format_exc())
logging.debug(str(e))
Expand Down

0 comments on commit e2866d1

Please sign in to comment.