dify/api/controllers/console/workspace
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
..
__init__.py add more typing (#24949) 2025-09-08 10:40:00 +08:00
account.py update sql in batch (#24801) 2025-09-10 13:00:17 +08:00
agent_providers.py refactor: Migrate part of the console basic API module to Flask-RESTX (#24732) 2025-09-10 12:15:47 +08:00
endpoint.py refactor: Migrate part of the console basic API module to Flask-RESTX (#24732) 2025-09-10 12:15:47 +08:00
error.py fix: drop dead code phase2 unused class (#22042) 2025-07-17 09:33:07 +08:00
load_balancing_config.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
members.py Fix basedpyright type errors (#25435) 2025-09-10 01:54:26 +08:00
model_providers.py Fix basedpyright type errors (#25435) 2025-09-10 01:54:26 +08:00
models.py feat: improve multi model credentials (#25009) 2025-09-03 13:52:31 +08:00
plugin.py feat(trigger): enhance plugin and trigger integration with updated naming conventions 2025-09-08 23:14:50 +08:00
tool_providers.py refactor(api): refactor all 2025-09-25 18:22:30 +08:00
trigger_providers.py refactor(api): improve error handling in trigger providers 2025-09-29 18:28:10 +08:00
workspace.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00