Change SpawnedSubsystem type to log subsystem errors (#1878)

* Change SpawnedSubsystem type to log subsystem errors

* Remove clone
This commit is contained in:
Fedor Sakharov authored and GitHub committed 2020-10-28 20:57:06 +01:00
1 parent 8a305ac963
commit 935fcd1666
16 files changed
+42 -27

No files matched your search

@@ -81,7 +81,7 @@ impl<C> Subsystem<C> for StatementDistribution
// within `run`.
SpawnedSubsystem {
name: "statement-distribution-subsystem",
future: self.run(ctx).map(|_| ()).boxed(),
future: self.run(ctx).boxed(),
}
}
}