diff --git a/dvc/command/repro.py b/dvc/command/repro.py index 08e5e7cfd..b049b8c8a 100644 --- a/dvc/command/repro.py +++ b/dvc/command/repro.py @@ -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)