From 6683f13b4e4a1cb466c7b0528d96ff841f09c015 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Sun, 8 Jul 2018 00:36:06 +0300 Subject: [PATCH] metric: print error if unable to read Signed-off-by: Ruslan Kuprieiev --- dvc/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/project.py b/dvc/project.py index 1a1ebbc026..96e031507b 100644 --- a/dvc/project.py +++ b/dvc/project.py @@ -395,7 +395,7 @@ def _read_metric(self, path, json_path=None, tsv_path=None, htsv_path=None): else: ret = fd.read() except Exception as exc: - self.logger.debug('Unable to read metric in \'{}\''.format(path), exc) + self.logger.error('Unable to read metric in \'{}\''.format(path), exc) return ret