From a13d7d414f942848d2a354caaf515fe4ac0b2584 Mon Sep 17 00:00:00 2001 From: AlexKaravaev Date: Fri, 12 Dec 2025 19:54:13 -0800 Subject: [PATCH 1/2] fix: don't crahs if capabilities are not present on the modem --- orb-connd/src/telemetry/mod.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/orb-connd/src/telemetry/mod.rs b/orb-connd/src/telemetry/mod.rs index ea2bc4bc1..dfc795bae 100644 --- a/orb-connd/src/telemetry/mod.rs +++ b/orb-connd/src/telemetry/mod.rs @@ -13,7 +13,7 @@ use std::{ sync::Arc, time::Duration, }; -use tracing::{error, info}; +use tracing::{error, info, warn}; pub mod backend_status_cellular_reporter; pub mod backend_status_wifi_reporter; @@ -93,8 +93,10 @@ async fn make_modem_status( Some(sim_info.iccid) } }; - - mm.signal_setup(&modem.id, Duration::from_secs(10)).await?; + + if let Err(e) = mm.signal_setup(&modem.id, Duration::from_secs(10)).await { + warn!("make_modem_status: signal setup unsupported/failed: {e}"); + } let net_stats = NetStats::collect(sysfs, "wwan0").await?; From 6377c8a34de00d360a1ada392d3459aab9658d0d Mon Sep 17 00:00:00 2001 From: AlexKaravaev Date: Fri, 12 Dec 2025 22:22:27 -0800 Subject: [PATCH 2/2] fmt --- orb-connd/src/telemetry/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orb-connd/src/telemetry/mod.rs b/orb-connd/src/telemetry/mod.rs index dfc795bae..ee004cace 100644 --- a/orb-connd/src/telemetry/mod.rs +++ b/orb-connd/src/telemetry/mod.rs @@ -93,7 +93,7 @@ async fn make_modem_status( Some(sim_info.iccid) } }; - + if let Err(e) = mm.signal_setup(&modem.id, Duration::from_secs(10)).await { warn!("make_modem_status: signal setup unsupported/failed: {e}"); }