From 0089f1ec2ac834d0ee45e9abf2f727b503475d62 Mon Sep 17 00:00:00 2001 From: Nander Stabel Date: Thu, 5 Dec 2024 19:52:47 +0100 Subject: [PATCH] fix: make log messages more consistent --- agent_identity/src/state.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agent_identity/src/state.rs b/agent_identity/src/state.rs index 6b8fb930..75081669 100644 --- a/agent_identity/src/state.rs +++ b/agent_identity/src/state.rs @@ -93,10 +93,10 @@ pub async fn initialize(state: &IdentityState) { document: Some(document), .. })) => { - info!("DID Web Document already exists: {:?}", document); + info!("DID Document for `did:web` already exists: {:?}", document); } _document_does_not_exist => { - info!("Creating new DID Web Document"); + info!("Creating new DID Document for `did:web`"); let command = DocumentCommand::CreateDocument { did_method: did_method.clone(), @@ -106,7 +106,7 @@ pub async fn initialize(state: &IdentityState) { .await .is_err() { - warn!("Failed to create document"); + warn!("Failed to create DID Document for `did:web`"); } } }