mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
metric: print error if unable to read
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+1
-1
@@ -395,7 +395,7 @@ class Project(object):
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user