File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
wallet-core/src/main/java/eu/europa/ec/eudi/wallet/issue/openid4vci Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ internal class DefaultOpenId4VciManager(
86
86
credentialIssuerMetadata.credentialConfigurationsSupported.keys.toList()[3 ],
87
87
credentialIssuerMetadata.credentialConfigurationsSupported.keys.toList()[4 ]
88
88
)
89
-
89
+
90
90
val credentialOffer = CredentialOffer (
91
91
credentialIssuerIdentifier = credentialIssuerId,
92
92
credentialIssuerMetadata = credentialIssuerMetadata,
@@ -210,14 +210,19 @@ internal class DefaultOpenId4VciManager(
210
210
211
211
Log .d(TAG , " Issuing document: ${issuanceRequest.documentId} for ${issuanceRequest.docType} " )
212
212
213
- doIssueCredential(
213
+ try {
214
+ doIssueCredential(
214
215
authorizedRequest,
215
216
item.configurationIdentifier,
216
217
item.configuration,
217
218
issuanceRequest,
218
219
addedDocuments,
219
220
onEvent
220
221
)
222
+ } catch (e: Exception ){
223
+ Log .e(" DefaultOpenId4VciManager" , " failed issue for ${issuanceRequest.docType} " , )
224
+ }
225
+
221
226
}
222
227
onEvent(IssueEvent .Finished (addedDocuments.toList()))
223
228
}
You can’t perform that action at this time.
0 commit comments