uschindler commented on code in PR #2501: URL: https://github.com/apache/solr/pull/2501#discussion_r1642733223
########## solr/core/src/java/org/apache/solr/cli/PostTool.java: ########## @@ -389,7 +389,7 @@ private void doWebMode() { numPagesPosted = postWebPages(args, 0, out); info(numPagesPosted + " web pages indexed."); - } catch (MalformedURLException e) { + } catch (URISyntaxException e) { Review Comment: OK, as we use new URI here, it might be better to do this also in the main code path. This would bring consistent exceptions. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org