exit with 1 if targets were not found

This commit is contained in:
Mr. Outis
2019-08-06 21:10:48 -05:00
parent 21a2d3c6ff
commit d4ef110794
4 changed files with 26 additions and 19 deletions
-10
View File
@@ -195,16 +195,6 @@ class ReproductionError(DvcException):
super(ReproductionError, self).__init__(msg, cause=ex)
class BadMetricError(DvcException):
def __init__(self, paths):
super(BadMetricError, self).__init__(
"the following outputs do not exist, are not a metric file "
"or are malformed: {paths}".format(
paths=", ".join(relpath(path) for path in paths)
)
)
class NoMetricsError(DvcException):
def __init__(self):
super(NoMetricsError, self).__init__(