mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2026-11-03 20:56:45 -06:00
Fix: only display error about blackboard if compiled in debug mode
This commit is contained in:
1 parent
98cfb6f52a
commit
31fef42a92
1 file changed
+1
@@ -38,6 +38,7 @@ pub async fn blackboard_blob<T: Serialize>(key: &str, value: T) -> anyhow::Resul
|
||||
blob: chunk.to_vec(),
|
||||
}];
|
||||
let err = lqos_bus::bus_request(req).await;
|
||||
#[cfg(debug_assertions)]
|
||||
if let Err(e) = err {
|
||||
tracing::error!("Error writing to blackboard (only an error if lqosd is running): {e:?}");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user