mirror of https://github.com/langgenius/dify.git
- 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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| trigger.py | ||
| webhook.py | ||