Effect CommunityEC
Effect Community9mo ago
56 replies
NBAH

Handling Defects in Effect/Cluster with Retries

Seems like effect/cluster saves defect replies (like "yield* Effect.dieMessage('defect')") like any other replies. This is causing problems with "temporary errors" which are expected to be retried but the reply with the defect is persisted so any consequent call to this activity will return the same defect. Is this an expected behaviour? Should I add "retry all unexpected errors" to all activity handlers or is there a better solution?
Was this page helpful?