dify/api/controllers/trigger
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 refactor(api): fix pyright check 2025-09-25 18:32:22 +08:00
trigger.py refactor(api): improve error handling in trigger providers 2025-09-29 18:28:10 +08:00
webhook.py debug webhook node 2025-09-29 09:28:19 +08:00