bin/patch: 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 47cba584d4
commit dbe8823523
+1 -1
View File
@@ -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)?