diff --git a/rust/agama-dbus-server/src/network/system.rs b/rust/agama-dbus-server/src/network/system.rs index 097c0fd5e0..5272d58596 100644 --- a/rust/agama-dbus-server/src/network/system.rs +++ b/rust/agama-dbus-server/src/network/system.rs @@ -119,7 +119,9 @@ impl NetworkSystem { let tree = Arc::clone(&self.tree); tokio::spawn(async move { let mut tree = tree.lock().await; - _ = tree.set_connections(&mut connections).await; + if let Err(e) = tree.set_connections(&mut connections).await { + log::error!("Could not update the D-Bus tree: {}", e); + } }); } }