diff --git a/core/src/nodes/handled_node_tasks.rs b/core/src/nodes/handled_node_tasks.rs index 4079b351..fb8fe3ed 100644 --- a/core/src/nodes/handled_node_tasks.rs +++ b/core/src/nodes/handled_node_tasks.rs @@ -335,9 +335,12 @@ impl (), + Ok(Async::Ready(())) => {}, Ok(Async::NotReady) => self.local_spawns.push(task), - Err(_err) => () // TODO: log this? + // It would normally be desirable to either report or log when a background task + // errors. However the default tokio executor doesn't do anything in case of error, + // and therefore we mimic this behaviour by also not doing anything. + Err(()) => {} } }