Exit from av-store loop on fatal error. (#2232)

* Fuse receive stream in Context

* Revert "Fuse receive stream in Context"

This reverts commit ddd26fa98f0ca1afbc22064e93010e4193a058b2.

* Exit on node shutdown from av-store loop

* Filter only context error
This commit is contained in:
Fedor Sakharov
2021-01-08 14:40:46 +03:00
committed by GitHub
parent c0102aafa7
commit 8f293e18c3
+4
View File
@@ -507,6 +507,10 @@ where
match res {
Err(e) => {
e.trace();
if let Error::Subsystem(SubsystemError::Context(_)) = e {
break;
}
}
Ok(true) => {
tracing::info!(target: LOG_TARGET, "received `Conclude` signal, exiting");