From d2364464452d91c213c125c5cde4f36bf507acfc Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 17 Aug 2025 10:33:38 +0200 Subject: [PATCH] bin/inbox: Do not panic if repository cannot be found Signed-off-by: Matthias Beyer --- bin/commands/inbox.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/commands/inbox.rs b/bin/commands/inbox.rs index 1214711c..a2d44074 100644 --- a/bin/commands/inbox.rs +++ b/bin/commands/inbox.rs @@ -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}");