Skip to content

Commit

Permalink
fix: some log messages (openwallet-foundation#1636)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <timo@animo.id>
Signed-off-by: Martin Auer <martin.auer97@gmail.com>
  • Loading branch information
TimoGlastra authored and auer-martin committed Nov 15, 2023
1 parent 21bfff4 commit 3e317ab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class DidExchangeStateMachine {
}
if (rule.state !== record.state || rule.role !== record.role) {
throw new AriesFrameworkError(
`Record with role ${record.role} is in invalid state ${record.state} to process ${messageType}. Expected state for role ${rule.role} is ${rule.state}.`
`Record with role ${record.role} is in invalid state ${record.state} to process ${messageType.messageTypeUri}. Expected state for role ${rule.role} is ${rule.state}.`
)
}
}
Expand All @@ -80,7 +80,7 @@ export class DidExchangeStateMachine {
.find((r) => canHandleMessageType(r.message, messageType) && r.role === record.role)
if (!rule) {
throw new AriesFrameworkError(
`Could not find create message rule for messageType ${messageType}, state ${record.state} and role ${record.role}`
`Could not find create message rule for messageType ${messageType.messageTypeUri}, state ${record.state} and role ${record.role}`
)
}
return rule.nextState
Expand Down

0 comments on commit 3e317ab

Please sign in to comment.