diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-10-27 14:57:39 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-10-27 15:08:48 +0200 |
commit | bce76a8e28c54c8503ab9e724124be2f704c432e (patch) | |
tree | dea03e2e8cf56bd0e9295ef970cd0a406e6f65da | |
parent | ca367b0b15001f87c5fdd8fc019eb3f52b72d829 (diff) | |
download | gemato-bce76a8e28c54c8503ab9e724124be2f704c432e.tar.gz |
cli: Handle more standard exceptions
-rw-r--r-- | gemato/cli.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gemato/cli.py b/gemato/cli.py index 0529fc9..0bd4147 100644 --- a/gemato/cli.py +++ b/gemato/cli.py @@ -64,6 +64,12 @@ def do_verify(args): relpath = '' try: ret = m.assert_directory_verifies(relpath, **kwargs) + except gemato.exceptions.ManifestCrossDevice as e: + logging.error(str(e)) + return 1 + except gemato.exceptions.ManifestIncompatibleEntry as e: + logging.error(str(e)) + return 1 except gemato.exceptions.ManifestMismatch as e: logging.error(str(e)) return 1 |