mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-11 22:20:45 +08:00
bin/patch: 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
47cba584d4
commit
dbe8823523
@@ -382,7 +382,7 @@ mod interface {
|
||||
rid: RepoId,
|
||||
patch_id: PatchId,
|
||||
) -> anyhow::Result<()> {
|
||||
let repo = profile.storage.repository(rid).unwrap();
|
||||
let repo = profile.storage.repository(rid)?;
|
||||
let signer = terminal::signer(&profile)?;
|
||||
|
||||
let patch = patch::find(&profile, &repo, &patch_id)?
|
||||
|
||||
Reference in New Issue
Block a user