main: Log ManifestParseError exception messages

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 <vapier@google.com>
Commit-Queue: Łukasz Patron <priv.luk@gmail.com>
Tested-by: Łukasz Patron <priv.luk@gmail.com>
This commit is contained in:
LuK1337 2023-11-01 09:37:53 +01:00 committed by LUCI
parent d32b2dcd15
commit 89f761cfef

View File

@ -48,6 +48,7 @@ from error import DownloadError
from error import GitcUnsupportedError from error import GitcUnsupportedError
from error import InvalidProjectGroupsError from error import InvalidProjectGroupsError
from error import ManifestInvalidRevisionError from error import ManifestInvalidRevisionError
from error import ManifestParseError
from error import NoManifestException from error import NoManifestException
from error import NoSuchProjectError from error import NoSuchProjectError
from error import RepoChangedException from error import RepoChangedException
@ -439,6 +440,7 @@ class _Repo:
except ( except (
DownloadError, DownloadError,
ManifestInvalidRevisionError, ManifestInvalidRevisionError,
ManifestParseError,
NoManifestException, NoManifestException,
) as e: ) as e:
logger.error("error: in `%s`: %s", " ".join([name] + argv), e) logger.error("error: in `%s`: %s", " ".join([name] + argv), e)