Skip to content

Commit

Permalink
chore: added debug for incorrect verification
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Brunkow Moser committed Jul 1, 2024
1 parent 6854ffe commit a16a55a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public String setVerificationInfo(String processId, VerificationInfo verificatio
if(verificationInfo.verified){
LogUtil.printMessage("[DPP VERIFICATION ADD-ON] [PROCESS "+ processId+"] [VERIFIED] The Data Aspect was verified Successfully!");
}else{
LogUtil.printMessage("[DPP VERIFICATION ADD-ON] [PROCESS "+ processId+"] [VERIFICATION FAILED] The Data Aspect was not able to be verified!");
LogUtil.printError("[DPP VERIFICATION ADD-ON] [PROCESS "+ processId+"] [VERIFICATION FAILED] The Data Aspect was not able to be verified!");
}
History history = new History(
processId,
Expand Down Expand Up @@ -279,6 +279,7 @@ public VerificationInfo buildVerification(JsonNode verifiableCredential, Verific
message = response.get("message").asText();

if(!verified){
LogUtil.printError("[DPP VERIFICATION ADD-ON] [VERIFICATION FAILED] " + message);
verificationInfo.setError(message);
}

Expand Down

0 comments on commit a16a55a

Please sign in to comment.