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

await added to friend request

matthew-heartful2472fd745276
diff --git a/screenpipe-server/src/core.rs b/screenpipe-server/src/core.rs
index c8613ff5e..71535c930 100644
--- a/screenpipe-server/src/core.rs
+++ b/screenpipe-server/src/core.rs
@@ -171,7 +171,7 @@ async fn record_video(
frame_id.to_string(),
frame.text.clone(),
uid, // Pass the UID to the function
- ) {
+ ).await {
error!("Failed to send screen data to friend wearable: {}", e);
} else {
debug!("Sent screen data to friend wearable for frame {}", frame_id);
@@ -361,7 +361,7 @@ async fn process_audio_result(
audio_chunk_id.to_string(),
transcription.clone(),
uid, // Pass the UID to the function
- ) {
+ ).await {
error!("Failed to send data to friend wearable: {}", e);
} else {
debug!(
@@ -377,4 +377,4 @@ async fn process_audio_result(
result.input.device, e
),
}
-}
+}
\ No newline at end of file