mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-09 22:54:53 +03:00
Add failure messages
This commit is contained in:
parent
6b0ebcdb59
commit
1650912bc1
|
@ -302,8 +302,10 @@ def project_run_parallel_group(
|
|||
if len(process_rcs) > 0:
|
||||
group_rc = max(process_rcs)
|
||||
if group_rc > 0:
|
||||
msg.fail("A command in the parallel group failed.")
|
||||
sys.exit(group_rc)
|
||||
if any(c for c in cmd_infos if c.state.name in ("hung", "terminated")):
|
||||
msg.fail("Command(s) in the parallel group hung or were terminated.")
|
||||
sys.exit(-1)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user