diff: handle exceptions

This commit is contained in:
Mr. Outis
2020-01-26 17:50:47 -06:00
parent bd1adf2c23
commit fe4eba5941
5 changed files with 20 additions and 5 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ class CmdDiff(CmdBase):
print(self._format(diff))
except DvcException:
logger.exception("failed to get 'diff {}'")
logger.exception("failed to get diff")
return 1
return 0