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=905afee5f5b51abc5ee7317361dc0b44c3f80ac4;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: