Skip to content

Commit

Permalink
chore: clean up more log entries and clarify logs
Browse files Browse the repository at this point in the history
Signed-off-by: Colton Wolkins (Laptop) <[email protected]>
  • Loading branch information
TheTechmage committed Oct 28, 2024
1 parent dbe17b3 commit 5abc403
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/lib/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ export class Agent {
}

private onMessageReceived(message: IMessage) {
console.log("Recieved message: ", message)
if (message?.prior) {
const oldContact = ContactService.getContact(message.prior.iss)
oldContact && ContactService.rotateContact(oldContact, message.prior.sub)
Expand Down
2 changes: 1 addition & 1 deletion src/lib/didcomm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ export class DIDComm {

async getPrior(prior: string): Promise<IFromPrior> {
const from_prior = await FromPrior.unpack(prior, this.resolver)
console.log(from_prior)
console.log("received from_prior:", from_prior)
return from_prior[0].as_value()
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class DIDCommWorker {
}

async handleMessage(message: IMessage) {
console.log("handleMessage: ", message)
console.log("handleMessage: ", "(before 'Received:' stringify)", message)
switch (message.type) {
case "https://didcomm.org/messagepickup/3.0/status":
if (message.body.message_count > 0) {
Expand Down

0 comments on commit 5abc403

Please sign in to comment.