Feat: add static analytic of code
This commit is contained in:
@@ -276,7 +276,7 @@ public class Worker {
|
||||
try {
|
||||
config.setMaxAllowedMemory(Utils.parseNumber(max_ram) / 1024); // internal value is in KiB
|
||||
}
|
||||
catch (java.lang.IllegalStateException e) {
|
||||
catch (IllegalStateException e) {
|
||||
System.err.println(
|
||||
String.format("ERROR: The entered value of maximum memory (-memory parameter) doesn't seem to be a valid number [%s]", e.getMessage()));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user