mirror of
https://github.com/langgenius/dify.git
synced 2026-03-14 13:51:33 +08:00
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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| account.py | ||
| agent_providers.py | ||
| endpoint.py | ||
| error.py | ||
| load_balancing_config.py | ||
| members.py | ||
| model_providers.py | ||
| models.py | ||
| plugin.py | ||
| tool_providers.py | ||
| trigger_providers.py | ||
| workspace.py | ||