mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-08 22:29:33 +00:00
error message update
This commit is contained in:
parent
89950593b4
commit
77a17566e0
@ -76,8 +76,7 @@ public class CTCloudException extends Exception{
|
|||||||
|
|
||||||
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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user