bin/inbox: Do not panic if repository cannot be found

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer
2025-12-09 13:16:31 +01:00
committed by Erik Kundt
parent 48945df404
commit d236446445
+1 -1
View File
@@ -199,7 +199,7 @@ pub async fn run(options: Options, ctx: impl terminal::Context) -> anyhow::Resul
match options.op {
Operation::List { opts } => {
let profile = ctx.profile()?;
let repository = profile.storage.repository(rid).unwrap();
let repository = profile.storage.repository(rid)?;
if let Err(err) = crate::log::enable() {
println!("{err}");