Radish alpha
r
rad:z39mP9rQAaGmERfUMPULfPUi473tY
Radicle terminal user interface
Radicle
Git
bin/issue: Do not panic if repository cannot be found
Matthias Beyer committed 4 months ago
commit 47cba584d4297e09f28cb29a92578fe3ea21c4b1
parent d236446
1 file changed +1 -1
modified 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}");