dify/api/controllers/console
Harry 19cc67561b refactor(api): improve error handling in trigger providers
- Removed unnecessary ValueError handling in TriggerSubscriptionBuilderCreateApi and TriggerSubscriptionBuilderBuildApi, allowing for more streamlined exception management.
- Updated TriggerSubscriptionBuilderVerifyApi and TriggerSubscriptionBuilderBuildApi to raise ValueError with the original exception context for better debugging.
- Enhanced trigger_endpoint in trigger.py to log errors and return a JSON response for not found endpoints, improving user feedback and error reporting.

These changes enhance the robustness and clarity of error handling across the API.
2025-09-29 18:28:10 +08:00
..
app debug webhook node 2025-09-29 09:28:19 +08:00
auth refactor(router): apply ns.route style (#26339) 2025-09-28 13:37:06 +08:00
billing refactor(router): apply ns.route style (#26339) 2025-09-28 13:37:06 +08:00
datasets [Chore/Refactor] Apply @console_ns.route decorators to RAG pipeline controllers (#26348) 2025-09-28 23:42:22 +08:00
explore refactor(router): apply ns.route style (#26339) 2025-09-28 13:37:06 +08:00
tag Fix flask response: 200 -> {}, 200 (#25404) 2025-09-09 15:06:18 +08:00
workspace refactor(api): improve error handling in trigger providers 2025-09-29 18:28:10 +08:00
__init__.py Merge remote-tracking branch 'origin/main' into feat/trigger 2025-09-28 13:40:46 +08:00
admin.py refactor: Migrate part of the console basic API module to Flask-RESTX (#24732) 2025-09-10 12:15:47 +08:00
apikey.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
error.py Restructure the File errors in controller (#23801) 2025-08-13 17:06:07 +08:00
extension.py refactor: Migrate part of the console basic API module to Flask-RESTX (#24732) 2025-09-10 12:15:47 +08:00
feature.py refactor: Migrate part of the console basic API module to Flask-RESTX (#24732) 2025-09-10 12:15:47 +08:00
files.py refactor(router): apply ns.route style (#26339) 2025-09-28 13:37:06 +08:00
init_validate.py refactor: Migrate part of the console basic API module to Flask-RESTX (#24732) 2025-09-10 12:15:47 +08:00
ping.py refactor: Migrate part of the console basic API module to Flask-RESTX (#24732) 2025-09-10 12:15:47 +08:00
remote_files.py refactor(router): apply ns.route style (#26339) 2025-09-28 13:37:06 +08:00
setup.py refactor: Migrate part of the console basic API module to Flask-RESTX (#24732) 2025-09-10 12:15:47 +08:00
spec.py refactor(router): apply ns.route style (#26339) 2025-09-28 13:37:06 +08:00
version.py more httpx (#25651) 2025-09-22 23:07:09 +08:00
wraps.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00