From 905afee5f5b51abc5ee7317361dc0b44c3f80ac4 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 8 Apr 2021 12:32:22 +0200 Subject: [PATCH] Fix bug 1494: raise exception if repo-index fails Change-Id: Icd56912f58444c9a6c20fe6336207056992f883f Signed-off-by: garciadeblas --- osmclient/sol005/osmrepo.py | 1 + 1 file changed, 1 insertion(+) 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: -- 2.25.1