iamsanjay commented on code in PR #2501:
URL: https://github.com/apache/solr/pull/2501#discussion_r1642713698


##########
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:
   `doWebMode()` is calling `appendUrlPath` that, as per new changes, is 
throwing `URISyntaxException`.
   
   ```
   protected static URI appendUrlPath(URI uri, String append) throws 
URISyntaxException {
       var newPath = uri.getPath() + append;
       return new URI(uri.getScheme(), uri.getAuthority(), newPath, 
uri.getQuery(), uri.getFragment());
     }
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to