From 89f761cfefc406aabc5658e6c0a5cd25812d0525 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Wed, 1 Nov 2023 09:37:53 +0100 Subject: [PATCH] main: Log ManifestParseError exception messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This lets us see manifest parsing error messages again. Change-Id: I2d90b97cfb50e4520f79e75fa0d648c373b49e98 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/391477 Reviewed-by: Mike Frysinger Commit-Queue: Łukasz Patron Tested-by: Łukasz Patron --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 604de76f..47dcde19 100755 --- a/main.py +++ b/main.py @@ -48,6 +48,7 @@ from error import DownloadError from error import GitcUnsupportedError from error import InvalidProjectGroupsError from error import ManifestInvalidRevisionError +from error import ManifestParseError from error import NoManifestException from error import NoSuchProjectError from error import RepoChangedException @@ -439,6 +440,7 @@ class _Repo: except ( DownloadError, ManifestInvalidRevisionError, + ManifestParseError, NoManifestException, ) as e: logger.error("error: in `%s`: %s", " ".join([name] + argv), e)