feat(macos): gate network module and fix remaining souvlaki error formatting

Gate /proc/self/mountinfo parsing to Linux with empty fallback. Use
Debug formatting for remaining souvlaki errors not covered by 6261f312.
This commit is contained in:
Afonso Jorge Ramos committed 2026-03-20 00:45:15 +01:00
1 parent 5ed549d46b
commit 9bcf24131f
2 files changed
+13 -4

No files matched your search

+3 -3
View File
@@ -119,7 +119,7 @@ impl MediaControlsManager {
};
if let Err(e) = controls.set_playback(playback) {
log::debug!("Failed to set playback state: {}", e);
log::debug!("Failed to set playback state: {:?}", e);
}
}
}
@@ -139,7 +139,7 @@ impl MediaControlsManager {
};
if let Err(e) = controls.set_playback(playback) {
log::debug!("Failed to set playback state: {}", e);
log::debug!("Failed to set playback state: {:?}", e);
}
}
}
@@ -150,7 +150,7 @@ impl MediaControlsManager {
if let Ok(mut guard) = self.controls.lock() {
if let Some(controls) = guard.as_mut() {
if let Err(e) = controls.set_playback(MediaPlayback::Stopped) {
log::debug!("Failed to set stopped state: {}", e);
log::debug!("Failed to set stopped state: {:?}", e);
}
}
}