mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Do not fail the whole lambda if one page failed
This commit is contained in:
parent
52a7544aa4
commit
3e6dc24a7b
@ -160,7 +160,11 @@ def get_workflow_description_fallback(event_data) -> List[WorkflowDescription]:
|
||||
workflows_data = []
|
||||
i = 1
|
||||
for i in range(1, 6):
|
||||
workflows = _exec_get_with_retry(f"{request_url}&page={i}")
|
||||
try:
|
||||
workflows = _exec_get_with_retry(f"{request_url}&page={i}")
|
||||
except Exception as e:
|
||||
print(f"Exception occured, still continue: {e}")
|
||||
continue
|
||||
if not workflows["workflow_runs"]:
|
||||
break
|
||||
# Prefilter workflows
|
||||
|
Loading…
Reference in New Issue
Block a user