metric: print error if unable to read

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-07-08 01:02:26 +03:00
parent 3f73ef057a
commit 6683f13b4e
+1 -1
View File
@@ -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