Commit 3399e197 authored by Marc-Andre Santune's avatar Marc-Andre Santune
Browse files

raise HTTP error in _update_with_version

parent c92d4e66
......@@ -2,6 +2,7 @@ import logging
from base64 import b64encode
from os.path import join
from typing import Optional
from simplejson import JSONDecodeError
import requests
from requests.exceptions import HTTPError
......@@ -280,5 +281,5 @@ class BuildingGeneric:
if e.response.status_code == 500 and "version conflict error" in e.response.text.lower():
raise VersionConflictError
else:
self.logger.exception(e.response.text)
raise
return res
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment