refactor: replace generic Exception handling with specific exceptions in various files

This commit is contained in:
Abhimanyu Saharan
2026-02-09 02:51:26 +05:30
parent 9714c7c24e
commit 9973b76463
4 changed files with 23 additions and 16 deletions

View File

@@ -845,7 +845,7 @@ async def broadcast_gateway_lead_message(
)
)
sent += 1
except Exception as exc:
except (HTTPException, OpenClawGatewayError, ValueError) as exc:
results.append(
GatewayLeadBroadcastBoardResult(
board_id=board.id,