From 77a17566e07281040783609ee2c72cbb2fda3d55 Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro <gregd@basistech.com> Date: Wed, 9 Aug 2023 12:17:36 -0400 Subject: [PATCH] error message update --- .../df/cybertriage/autopsy/ctapi/CTCloudException.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/src/com/basistech/df/cybertriage/autopsy/ctapi/CTCloudException.java b/Core/src/com/basistech/df/cybertriage/autopsy/ctapi/CTCloudException.java index 52d586ee53..95605c4bce 100644 --- a/Core/src/com/basistech/df/cybertriage/autopsy/ctapi/CTCloudException.java +++ b/Core/src/com/basistech/df/cybertriage/autopsy/ctapi/CTCloudException.java @@ -76,8 +76,7 @@ public ErrorCode getErrorCode() { public String getErrorDetails() { if(getErrorCode() == CTCloudException.ErrorCode.UNKNOWN && Objects.nonNull(getCause())){ - return String.format("Malware scan error %s occurred. Please try \"Re Scan\" from the dashboard to attempt Malware scaning again. " - + "\nPlease contact Basis support at %s for help if the problem presists.", + return String.format("An API error %s occurred. Please try again, and contact Basis support at %s for help if the problem persists.", StringUtils.isNotBlank(getCause().getLocalizedMessage()) ? "("+getCause().getLocalizedMessage()+")": "(Unknown)", Constants.SUPPORT_AT_CYBERTRIAGE_DOT_COM ); }else { -- GitLab