Commit f38390e
committed
Network: catch CircuitDestroyedException
This error is not catched because of removing generic try-with
and causes a red CI. In this commit we catch this error and
kill child circuits.
```
Unexpected exception happened in the retry loop, ex = System.AggregateException: One or more errors occurred. (Circuit got destroyed, reason ChannelClosed)
---> NOnion.CircuitDestroyedException: Circuit got destroyed, reason ChannelClosed
--- End of inner exception stack trace ---
The active test run was aborted. Reason: Test host process crashed : Unhandled exception. System.AggregateException: One or more errors occurred. (Circuit got destroyed, reason ChannelClosed)
---> NOnion.CircuitDestroyedException: Circuit got destroyed, reason ChannelClosed
--- End of inner exception stack trace ---
at [email protected](ExceptionDispatchInfo edi) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 907
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 109
at <StartupCode$FSharp-Core>[email protected](Object o) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 165
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
```1 parent 186e075 commit f38390e
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
355 | 359 | | |
356 | 360 | | |
357 | 361 | | |
| |||
0 commit comments