Displaying differences for changeset |
@@ -565,13 +565,13 @@ |
// Create/execute a Ages. |
Executable p = createProcessNew(dsl, ws, param, res, ages, LOG); |
int result = p.exec(); |
- if (result > 0) { |
- File f = p.stderr(); |
- if (f.exists() && f.length() > 10) { |
- String err = FileUtils.readFileToString(f, "UTF-8"); |
- LOG.info("Ages execution error. " + f + ":\n" + err); |
- throw new ServiceException("Ages execution error. " + f + ":\n" + err); |
- } |
+ if (result > 150) { |
+// File f = p.stderr(); |
+// if (f.exists() && f.length() > 10) { |
+// String err = FileUtils.readFileToString(f, "UTF-8"); |
+// LOG.info("Ages execution error. " + f + ":\n" + err); |
+// throw new ServiceException("Ages execution error. " + f + ":\n" + err); |
+// } |
throw new ServiceException(LOCATION_MNT_DATA + " Ages execution error." + result); |
} |
} |