use sqlx::SqlitePool; use crate::catalog::refresh_catalog; pub async fn run_catalog_refresh(pool: SqlitePool) { if let Err(e) = refresh_catalog(&pool).await { tracing::error!("Catalog refresh failed: {}", e); } }