diff --git a/dvc/updater.py b/dvc/updater.py index d25e5d4d2..98bb839c2 100644 --- a/dvc/updater.py +++ b/dvc/updater.py @@ -49,7 +49,7 @@ class Updater(object): # pragma: no cover try: info = json.load(fobj) self.latest = info['version'] - except json.decoder.JSONDecodeError as exc: + except Exception as exc: msg = "'{}' is not a valid json: {}" Logger.debug(msg.format(self.updater_file, exc)) self.fetch()