mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 03:01:02 +00:00
Change SpawnedSubsystem type to log subsystem errors (#1878)
* Change SpawnedSubsystem type to log subsystem errors * Remove clone
This commit is contained in:
@@ -66,7 +66,6 @@ impl<C> Subsystem<C> for PoVDistribution
|
||||
// within `run`.
|
||||
let future = self.run(ctx)
|
||||
.map_err(|e| SubsystemError::with_origin("pov-distribution", e))
|
||||
.map(|_| ())
|
||||
.boxed();
|
||||
SpawnedSubsystem {
|
||||
name: "pov-distribution-subsystem",
|
||||
@@ -616,4 +615,4 @@ impl metrics::Metrics for Metrics {
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
mod tests;
|
||||
|
||||
Reference in New Issue
Block a user