radicle: Fix log when delegate is not found

This commit is contained in:
cloudhead 2024-08-06 16:36:27 +02:00
parent a496190198
commit 16560950ec
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -72,7 +72,8 @@ impl Canonical {
Err(e) if super::ext::is_not_found_err(&e) => {
log::warn!(
target: "radicle",
"Missing `refs/namespaces/{delegate}/{name}` while calculating the canonical reference"
"Missing `refs/namespaces/{}/{name}` while calculating the canonical reference",
delegate.as_key()
);
}
Err(e) => return Err(e),