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
return error if multiple attempts exceeded when inserting ocr text
matthew-heartfulb7260abe3ad6
diff --git a/screenpipe-server/src/db.rs b/screenpipe-server/src/db.rsindex f1f0dbbdf..6128ba34a 100644--- a/screenpipe-server/src/db.rs+++ b/screenpipe-server/src/db.rs@@ -215,6 +215,7 @@ impl DatabaseManager {warn!("Retrying to insert OCR text for frame_id: {} (attempt {}/{})", frame_id, attempt + 1, MAX_RETRIES);} else {error!("Failed to insert OCR text for frame_id: {} after {} attempts", frame_id, MAX_RETRIES);+ return Err(sqlx::Error::PoolTimedOut); // Return error after max retries}}