in src/main/java/com/epam/grid/engine/provider/utils/CommandsUtils.java [38:46]
public static void throwExecutionDetails(final CommandResult result, final HttpStatus httpStatus) {
final String message = result.getStdOut().isEmpty()
? mergeOutputLines(result.getStdErr())
: mergeOutputLines(result.getStdOut())
+ (result.getStdErr().isEmpty()
? EMPTY_STRING
: NEW_LINE_DELIMITER + mergeOutputLines(result.getStdErr()));
throw new GridEngineException(httpStatus, message);
}