Skip to content

Commit 93c9145

Browse files
committed
removed debug info
1 parent cfaa3b6 commit 93c9145

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/main/java/main/controllers/AuditController.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,7 @@ public String create(boolean all, boolean xls) throws AqualityException {
139139
return excelUtils.writeXLSXFile(resArray,fields, MessageFormat.format("Aquality_Tracking_{0}_Submitted_Audits_{1}", all ? "All" : "Last",formatter.format(new Date())), MessageFormat.format("{0} Submitted Audits", all ? "All" : "Last"));
140140
}
141141
} catch (Exception e){
142-
String full = "";
143-
for (StackTraceElement stack: e.getStackTrace()) {
144-
full = full.concat(stack.toString());
145-
}
146-
throw new AqualityException("Cannot create Export: " + e.getMessage() + ". Stack: " + full);
142+
throw new AqualityException("Cannot create Export");
147143
}
148144
}
149145

@@ -382,7 +378,7 @@ private List<Pair<String,String>> processExportArrayCreation(JSONArray resArray,
382378

383379
return fields;
384380
} catch (Exception e){
385-
throw new AqualityException("Cannot process create Export: " + e.getMessage() + "Stack: " + e.getStackTrace().toString());
381+
throw new AqualityException("Cannot process export creation");
386382
}
387383
}
388384
}

0 commit comments

Comments
 (0)