diff --git a/bottomless-cli/src/main.rs b/bottomless-cli/src/main.rs index 2e9dc38b..e8e07036 100644 --- a/bottomless-cli/src/main.rs +++ b/bottomless-cli/src/main.rs @@ -218,7 +218,7 @@ fn verify_db(path: &PathBuf) -> Result<()> { if result == "ok" { Ok(()) } else { - Err(anyhow::anyhow!(result.to_string())) + anyhow::bail!("{result}") } }