Skip to content

Commit

Permalink
Update cylc/uiserver/resolvers.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ronnie Dutta <[email protected]>
  • Loading branch information
wxtim and MetRonnie committed Jul 19, 2023
1 parent 22b1df5 commit e1c4671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cylc/uiserver/resolvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ async def play(cls, workflows, args, workflows_mgr, log):

if ret:
# command failed
_, err = proc.communicate()
msg = err.strip() or (
out, err = proc.communicate()
msg = err.strip() or out.strip() or (
f'Could not start {tokens["workflow"]}'
f' - {cmd_repr}'
)
Expand Down

0 comments on commit e1c4671

Please sign in to comment.