[Fuego] [PATCH 06/30] add_jobs: use error_out
Daniel Sangorrin
daniel.sangorrin at toshiba.co.jp
Mon Jun 4 07:17:40 UTC 2018
Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
---
engine/scripts/ftc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/engine/scripts/ftc b/engine/scripts/ftc
index af399e1..b03bee3 100755
--- a/engine/scripts/ftc
+++ b/engine/scripts/ftc
@@ -1438,9 +1438,9 @@ def do_add_jobs(conf, options):
board_list = get_fuego_boards(conf).keys()
for board in boards:
if board not in board_list:
- raise Exception("Board '%s' not found." % board)
+ error_out("Board '%s' not found." % board)
else:
- raise Exception("No board name supplied.")
+ error_out("No board name supplied.")
rebuild = ''
if '--rebuild' in options:
--
2.7.4
More information about the Fuego
mailing list