Skip to content
Snippets Groups Projects
Commit 77a17566 authored by Greg DiCristofaro's avatar Greg DiCristofaro
Browse files

error message update

parent 89950593
No related branches found
No related tags found
No related merge requests found
...@@ -76,8 +76,7 @@ public ErrorCode getErrorCode() { ...@@ -76,8 +76,7 @@ public ErrorCode getErrorCode() {
public String getErrorDetails() { public String getErrorDetails() {
if(getErrorCode() == CTCloudException.ErrorCode.UNKNOWN && Objects.nonNull(getCause())){ 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. " return String.format("An API error %s occurred. Please try again, and contact Basis support at %s for help if the problem persists.",
+ "\nPlease contact Basis support at %s for help if the problem presists.",
StringUtils.isNotBlank(getCause().getLocalizedMessage()) ? "("+getCause().getLocalizedMessage()+")": "(Unknown)", StringUtils.isNotBlank(getCause().getLocalizedMessage()) ? "("+getCause().getLocalizedMessage()+")": "(Unknown)",
Constants.SUPPORT_AT_CYBERTRIAGE_DOT_COM ); Constants.SUPPORT_AT_CYBERTRIAGE_DOT_COM );
}else { }else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment