scriptblock.add(line);
}
}
if (blockDepth != 0){
//if the above loop broke without completing the script, it hit the end of line
throw new BadScriptException("EOF reached before end of script reached! Please re-balance braces!");
}
} catch (BadScriptException e) {
LogHelper.logWarning("[CommandsEX] " + _("fileListHelperBadScript", "") + lineno);
LogHelper.logDebug("Message: " + e.getMessage() + ", cause: " + e.getCause());
}