diff --git a/bin/commands/patch.rs b/bin/commands/patch.rs index 889045d6..59258fd9 100644 --- a/bin/commands/patch.rs +++ b/bin/commands/patch.rs @@ -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)?