mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-16 08:20:39 +08:00
bin/inbox: 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
48945df404
commit
d236446445
@@ -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}");
|
||||
|
||||
Reference in New Issue
Block a user