From 902c2f9c174a1061c44af07e1f589cdfcc389e3f Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Tue, 26 Aug 2025 10:03:25 -0300 Subject: [PATCH] fix: replace eprintln with log::warn for warnings Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) --- src/services/meta_service.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/services/meta_service.rs b/src/services/meta_service.rs index e696276..bc82068 100644 --- a/src/services/meta_service.rs +++ b/src/services/meta_service.rs @@ -95,15 +95,15 @@ impl MetaService { // Print warnings for duplicate output names for (output_name, plugin_names) in &output_names { if plugin_names.len() > 1 { - eprintln!("Warning: Output name '{}' is provided by multiple plugins: {}", - output_name, - plugin_names.join(", ")); + log::warn!("Output name '{}' is provided by multiple plugins: {}", + output_name, + plugin_names.join(", ")); } } for meta_plugin in plugins.iter_mut() { if let Err(e) = meta_plugin.initialize(conn, item_id) { - eprintln!("Warning: Failed to initialize meta plugin: {}", e); + log::warn!("Failed to initialize meta plugin: {}", e); } } }