diff --git a/cloud-agent/service/server/src/main/scala/org/hyperledger/identus/agent/server/jobs/IssueBackgroundJobs.scala b/cloud-agent/service/server/src/main/scala/org/hyperledger/identus/agent/server/jobs/IssueBackgroundJobs.scala index f6cd26691b..0b89d6cdb3 100644 --- a/cloud-agent/service/server/src/main/scala/org/hyperledger/identus/agent/server/jobs/IssueBackgroundJobs.scala +++ b/cloud-agent/service/server/src/main/scala/org/hyperledger/identus/agent/server/jobs/IssueBackgroundJobs.scala @@ -43,7 +43,7 @@ object IssueBackgroundJobs extends BackgroundJobsHelper { record <- credentialService .findById(DidCommID(message.value.recordId.toString)) .provideSome(ZLayer.succeed(walletAccessContext)) - .someOrElseZIO(ZIO.dieMessage("Record Not Found")) + .someOrElseZIO(ZIO.dieMessage(s"Record Not Found: ${message.value.recordId}")) _ <- performIssueCredentialExchange(record) .tapSomeError { case (walletAccessContext, errorResponse) => for {