From: garciadeblas Date: Thu, 8 Apr 2021 10:32:22 +0000 (+0200) Subject: Fix bug 1494: raise exception if repo-index fails X-Git-Tag: v9.0.0-dev~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F97%2F10597%2F1;p=osm%2Fosmclient.git Fix bug 1494: raise exception if repo-index fails Change-Id: Icd56912f58444c9a6c20fe6336207056992f883f Signed-off-by: garciadeblas --- diff --git a/osmclient/sol005/osmrepo.py b/osmclient/sol005/osmrepo.py index 6ccc061..424865c 100644 --- a/osmclient/sol005/osmrepo.py +++ b/osmclient/sol005/osmrepo.py @@ -362,6 +362,7 @@ class OSMRepo(Repo): self._logger.exception( "Error registering artifact in Repository: {}".format(e) ) + raise ClientException(e) finally: if source == "directory" and compresed: