Parent issue: #20
Context
The Rust backend has multiple let _ = ... patterns on I/O operations (file writes, database calls, IPC). These silently swallow errors, making debugging difficult.
Scope
- Grep for
let _ = across src-tauri/src/
- For each occurrence, determine if the error should be:
- Propagated (
? operator) — for operations where failure means the parent should fail
- Logged (
if let Err(e) = ... { tracing::warn!(...) }) — for best-effort operations
- Kept as
let _ = — only for truly fire-and-forget cases (e.g., channel send where receiver may have dropped)
- Replace
let _ = with the appropriate pattern
Guidelines
- Use
tracing::warn! or tracing::error! for logged errors
- Include context in log messages: what operation failed and why it matters
- Don't change function signatures unless necessary
This is a great issue for learning the Meld codebase and Rust error handling patterns.
Parent issue: #20
Context
The Rust backend has multiple
let _ = ...patterns on I/O operations (file writes, database calls, IPC). These silently swallow errors, making debugging difficult.Scope
let _ =acrosssrc-tauri/src/?operator) — for operations where failure means the parent should failif let Err(e) = ... { tracing::warn!(...) }) — for best-effort operationslet _ =— only for truly fire-and-forget cases (e.g., channel send where receiver may have dropped)let _ =with the appropriate patternGuidelines
tracing::warn!ortracing::error!for logged errorsThis is a great issue for learning the Meld codebase and Rust error handling patterns.