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 |
||
|---|---|---|
| .. | ||
| core | ||
| factories | ||
| libs/broadcast_channel/redis | ||
| services | ||
| tasks | ||
| trigger | ||
| workflow | ||
| __init__.py | ||
| conftest.py | ||
| test_workflow_pause_integration.py | ||