Skip to content

Commit

Permalink
fix: make log messages more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
nanderstabel committed Dec 5, 2024
1 parent 14710b4 commit 0089f1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agent_identity/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand All @@ -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`");
}
}
}
Expand Down

0 comments on commit 0089f1e

Please sign in to comment.