-
Notifications
You must be signed in to change notification settings - Fork 421
Labels
choreLinting, formatting, dependency hygiene, or project maintenance choresLinting, formatting, dependency hygiene, or project maintenance chorescicdIssue with CI/CD process (GitHub Actions, scaffolding)Issue with CI/CD process (GitHub Actions, scaffolding)devopsDevOps activities (containers, automation, deployment, makefiles, etc)DevOps activities (containers, automation, deployment, makefiles, etc)triageIssues / Features awaiting triageIssues / Features awaiting triage
Milestone
Description
The original issue #363 has been closed after covering several routers. However, a few endpoints in main.py still return raw technical errors. This issue aims to address those remaining routers by improving their error handling and ensuring they return user-friendly messages
Update the following router functions in main.py:
update_gateway
update_prompt
update_tool
create_prompt
create_tool
📌 Expected Improvements:
Catch common exceptions (e.g., ValidationError, IntegrityError, Exception)
Return structured responses with clear error messages
Avoid exposing raw traceback or technical details to the user
Metadata
Metadata
Assignees
Labels
choreLinting, formatting, dependency hygiene, or project maintenance choresLinting, formatting, dependency hygiene, or project maintenance chorescicdIssue with CI/CD process (GitHub Actions, scaffolding)Issue with CI/CD process (GitHub Actions, scaffolding)devopsDevOps activities (containers, automation, deployment, makefiles, etc)DevOps activities (containers, automation, deployment, makefiles, etc)triageIssues / Features awaiting triageIssues / Features awaiting triage