extra logging on nip-05 fetch errors to include user

This commit is contained in:
Mike Dilger 2023-01-11 19:13:54 +13:00
parent 60332659b7
commit 168bc94b41

View File

@ -38,7 +38,7 @@ pub async fn validate_nip05(person: DbPerson) -> Result<(), Error> {
let nip05 = match fetch_nip05(&user, &domain).await {
Ok(content) => content,
Err(e) => {
tracing::error!("NIP-05 fetch issue on {}", domain);
tracing::error!("NIP-05 fetch issue with {}@{}", user, domain);
return Err(e);
}
};