Suppress 500 during deployment warm-up period (#810)

This commit is contained in:
Eric Gustin 2026-04-07 11:51:40 -07:00 committed by GitHub
parent 82d6661dd9
commit 9f904a4ad6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -170,7 +170,8 @@ async def _stream_deployment_logs_to_deque(
if state["status"] not in ["pending", "unknown", "updating"]: if state["status"] not in ["pending", "unknown", "updating"]:
break break
except httpx.HTTPStatusError as e: except httpx.HTTPStatusError as e:
if debug: # 500s are expected during the deployment warm-up period
if debug and e.response.status_code != 500:
console.print(f"Failed to stream logs: {e.response.status_code}", style="dim red") console.print(f"Failed to stream logs: {e.response.status_code}", style="dim red")
await asyncio.sleep(3) await asyncio.sleep(3)
except Exception as e: except Exception as e:

View file

@ -1,6 +1,6 @@
[project] [project]
name = "arcade-mcp" name = "arcade-mcp"
version = "1.13.1" version = "1.13.2"
description = "Arcade.dev - Tool Calling platform for Agents" description = "Arcade.dev - Tool Calling platform for Agents"
readme = "README.md" readme = "README.md"
license = { file = "LICENSE" } license = { file = "LICENSE" }