Fix bug 1494: raise exception if repo-index fails 97/10597/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 8 Apr 2021 10:32:22 +0000 (12:32 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 8 Apr 2021 10:32:22 +0000 (12:32 +0200)
Change-Id: Icd56912f58444c9a6c20fe6336207056992f883f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osmclient/sol005/osmrepo.py

index 6ccc061..424865c 100644 (file)
@@ -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: