Skip to content

Commit

Permalink
Update digitalidentity/service.go
Browse files Browse the repository at this point in the history
Co-authored-by: Klaidas Urbanavicius <[email protected]>
  • Loading branch information
mehmet-yoti and klaidas authored Nov 23, 2023
1 parent 9661755 commit 75502ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion digitalidentity/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func GetShareReceipt(httpClient requests.HttpClient, receiptId string, clientSdk

uattr, err := cryptoutil.DecryptReceiptContent(receiptResponse.OtherPartyContent.Profile, receiptContentKey)
if err != nil {
return receipt, err
return receipt, fmt.Errorf("failed to decrypt other party receipt content profile: %v", err)
}
uextra, err := cryptoutil.DecryptReceiptContent(receiptResponse.OtherPartyContent.ExtraData, receiptContentKey)
if err != nil {
Expand Down

0 comments on commit 75502ef

Please sign in to comment.