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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
skip frame if ocr text insertion fails after multiple attempts
matthew-heartfula27201042de9
diff --git a/screenpipe-server/src/core.rs b/screenpipe-server/src/core.rsindex e6bc2f7a8..332714419 100644--- a/screenpipe-server/src/core.rs+++ b/screenpipe-server/src/core.rs@@ -148,7 +148,8 @@ async fn record_video(// debug!("insert_ocr_text called for frame {}", frame_id);if let Err(e) = db.insert_ocr_text(frame_id, &frame.text, &text_json, &new_text_json_vs_previous_frame, &raw_data_output_from_ocr).await {- error!("Failed to insert OCR text: {}", e);+ error!("Failed to insert OCR text: {}, skipping frame {}", e, frame_id);+ continue; // Skip to the next iteration}}Err(e) => {