Stage failure on an actor #7339
Replies: 2 comments
-
@valentina-2000 I responded to this on the discord before I realised you raised it here - I have used the PipeTo extension on the task to have any messages including extensions sent to the "Self" actor ref and handle them there - I log them and attempt to restart the flow I think you can also do this with stream Attributes but I've not found a good example yet |
Beta Was this translation helpful? Give feedback.
-
@richardjharding 's answer is good, but another tool you can use is the In a failure case that akka.net/src/core/Akka.Streams.Tests/Dsl/FlowWatchTerminationSpec.cs Lines 86 to 97 in 8e2e11d
|
Beta Was this translation helpful? Give feedback.
-
Hi, I have a question. If I've got a graph stage running inside an actor and the stage fails, is the actor aware abotut the failed stage?
How can I catch this exception inside the actor?
Beta Was this translation helpful? Give feedback.
All reactions