fix: add services module and fix type annotation error
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
mod args;
|
||||
mod config;
|
||||
mod modes;
|
||||
mod services;
|
||||
|
||||
use anyhow::{Context, Error, Result, anyhow};
|
||||
use clap::*;
|
||||
|
||||
@@ -41,7 +41,7 @@ pub fn mode_delete(
|
||||
CoreError::ItemNotFound(_) => {
|
||||
warn!("Unable to find item {item_id} in database");
|
||||
}
|
||||
_ => return Err(anyhow!(e).context(format!("Failed to delete item {}", item_id))),
|
||||
_ => return Err(anyhow::Error::from(e).context(format!("Failed to delete item {}", item_id))),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user