mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-29 14:30:31 +08:00
bin/issue: Do not panic if repository cannot be found
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
committed by
Erik Kundt
parent
d236446445
commit
47cba584d4
@@ -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}");
|
||||
|
||||
Reference in New Issue
Block a user