Skip to content

Commit

Permalink
metric: print error if unable to read
Browse files Browse the repository at this point in the history
Signed-off-by: Ruslan Kuprieiev <[email protected]>
  • Loading branch information
efiop committed Jul 7, 2018
1 parent 3f73ef0 commit 6683f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dvc/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6683f13

Please sign in to comment.