Merge pull request #11911 from diwakar-s-maurya/patch-1

fix: error message propagation from filter-pipeline
This commit is contained in:
Timothy Jaeryang Baek 2025-03-20 13:48:36 -07:00 committed by GitHub
commit 42f3e40065
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -90,8 +90,8 @@ async def process_pipeline_inlet_filter(request, payload, user, models):
headers=headers,
json=request_data,
) as response:
response.raise_for_status()
payload = await response.json()
response.raise_for_status()
except aiohttp.ClientResponseError as e:
res = (
await response.json()
@ -139,8 +139,8 @@ async def process_pipeline_outlet_filter(request, payload, user, models):
headers=headers,
json=request_data,
) as response:
response.raise_for_status()
payload = await response.json()
response.raise_for_status()
except aiohttp.ClientResponseError as e:
try:
res = (