bin/issue: 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 d236446445
commit 47cba584d4
+1 -1
View File
@@ -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}");