queue_website_update: just log errors instead of failing
this is optional really
This commit is contained in:
parent
94d87dac25
commit
099438dc3f
@ -1158,7 +1158,11 @@ def write_build_plan(args: Any) -> None:
|
||||
|
||||
def queue_website_update() -> None:
|
||||
r = REQUESTS_SESSION.post('https://packages.msys2.org/api/trigger_update', timeout=REQUESTS_TIMEOUT)
|
||||
r.raise_for_status()
|
||||
try:
|
||||
# it's not worth stopping the build if this fails, so just log it
|
||||
r.raise_for_status()
|
||||
except requests.RequestException as e:
|
||||
print(e)
|
||||
|
||||
|
||||
def update_status(pkgs: List[Package]) -> None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user