10 lines
231 B
Rust
10 lines
231 B
Rust
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);
|
|
}
|
|
}
|