mirror of https://github.com/langgenius/dify.git
Previously, when rebuilding a trigger subscription, errors from the unsubscribe operation were silently caught and logged without propagating to the user. This left users unaware of failures during subscription management. Changes: - Check UnsubscribeResult.success and raise ValueError with the error message when unsubscribe fails - Simplify the rebuild logic by removing unnecessary try/except wrapper - Refactor update API to use cleaner conditional logic - Remove redundant test cases that tested silent error handling |
||
|---|---|---|
| .. | ||
| app_trigger_service.py | ||
| schedule_service.py | ||
| trigger_provider_service.py | ||
| trigger_request_service.py | ||
| trigger_service.py | ||
| trigger_subscription_builder_service.py | ||
| trigger_subscription_operator_service.py | ||
| webhook_service.py | ||