repro: don't forget to return 1 if repro failed

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-01-18 19:49:08 +02:00
parent 2b8c8b62f0
commit e5798252ab
+1
View File
@@ -12,6 +12,7 @@ class CmdRepro(CmdBase):
force=self.args.force)
except ReproductionError as ex:
self.project.logger.error(ex)
return 1
except Exception as ex:
msg = 'Failed to reproduce \'{}\' - unexpected error: {}'.format(target, ex)
self.project.logger.error(msg)