From 47cba584d4297e09f28cb29a92578fe3ea21c4b1 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 17 Aug 2025 10:33:38 +0200 Subject: [PATCH] bin/issue: Do not panic if repository cannot be found Signed-off-by: Matthias Beyer --- bin/commands/issue.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/commands/issue.rs b/bin/commands/issue.rs index af5ea7dd..e7da856f 100644 --- a/bin/commands/issue.rs +++ b/bin/commands/issue.rs @@ -200,7 +200,7 @@ pub async fn run(options: Options, ctx: impl terminal::Context) -> anyhow::Resul Operation::List { opts } => { let profile = ctx.profile()?; let rid = options.repo.unwrap_or(rid); - let repository = profile.storage.repository(rid).unwrap(); + let repository = profile.storage.repository(rid)?; if let Err(err) = crate::log::enable() { println!("{err}");