Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(audio): downgrade transient SCK \"callback never fired\" to warn in device check loop (#3066)

Louis Beaumont4800c924669c
diff --git a/crates/screenpipe-audio/src/audio_manager/device_monitor.rs b/crates/screenpipe-audio/src/audio_manager/device_monitor.rs
index 064f15e97..25bc257f3 100644
--- a/crates/screenpipe-audio/src/audio_manager/device_monitor.rs
+++ b/crates/screenpipe-audio/src/audio_manager/device_monitor.rs
@@ -953,6 +953,13 @@ pub async fn start_device_monitor(
{
continue;
}
+ // SCK transiently fails during device switches ("callback never
+ // fired") — downgrade to warn so it doesn't reach Sentry; the
+ // monitor will retry on the next 2-second tick.
+ if e_str.contains("callback never fired") {
+ warn!("device check transient error (will retry): {e}");
+ continue;
+ }
error!("device check error: {e}");
}
}