This commit is contained in:
Ishan Chattopadhyaya 2019-11-14 18:08:40 +05:30
Родитель acda7098bb
Коммит 7845347fa7
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -66,6 +66,9 @@ public class PackageTool extends SolrCLI.ToolBase {
public RepositoryManager repositoryManager;
@Override
@SuppressForbidden(reason = "We really need to print the stacktrace here, otherwise "
+ "there shall be little else information to debug problems. Other SolrCLI tools "
+ "don't print stack traces, hence special treatment is needed here.")
protected void runImpl(CommandLine cli) throws Exception {
try {
solrUrl = cli.getOptionValues("solrUrl")[cli.getOptionValues("solrUrl").length-1];