mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-09 23:10:24 +01:00
repro: don't forget to return 1 if repro failed
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user