fix(tauri): replace silent let _ = with structured logging across 20 modules

Replace error-swallowing let _ = patterns with tracing::warn! in browser,
classroom, gateway, intelligence, memory, pipeline, secure_storage, and
viking command handlers. Ensures errors are observable in production logs.
This commit is contained in:
iven
2026-04-03 00:28:39 +08:00
parent 52bdafa633
commit 15d578c5bc
20 changed files with 129 additions and 0 deletions

View File

@@ -473,6 +473,7 @@ If no significant memories found, return empty array: []"#,
// === Tauri Commands ===
// @connected
#[tauri::command]
pub async fn extract_session_memories(
messages: Vec<ChatMessage>,
@@ -489,6 +490,7 @@ pub async fn extract_session_memories(
/// Extract memories from session and store to SqliteStorage
/// This combines extraction and storage in one command
// @connected
#[tauri::command]
pub async fn extract_and_store_memories(
messages: Vec<ChatMessage>,