Fix bug 1494: raise exception if repo-index fails
[osm/osmclient.git] / 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: