From a16a55a247e2c90b90d7d7fbbdff57e8b7f10aeb Mon Sep 17 00:00:00 2001 From: Mathias Brunkow Moser Date: Mon, 1 Jul 2024 15:07:20 +0200 Subject: [PATCH] chore: added debug for incorrect verification --- .../verification/manager/VerificationManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dpp-backend/digitalproductpass/src/main/java/org/eclipse/tractusx/digitalproductpass/verification/manager/VerificationManager.java b/dpp-backend/digitalproductpass/src/main/java/org/eclipse/tractusx/digitalproductpass/verification/manager/VerificationManager.java index 9d20fd0da..32587e4e3 100644 --- a/dpp-backend/digitalproductpass/src/main/java/org/eclipse/tractusx/digitalproductpass/verification/manager/VerificationManager.java +++ b/dpp-backend/digitalproductpass/src/main/java/org/eclipse/tractusx/digitalproductpass/verification/manager/VerificationManager.java @@ -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, @@ -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); }