cziegeler opened a new pull request, #209: URL: https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/209
Removes the `throws ServletException, IOException` declarations from `doGet` and `doPost` in `ResourceResolverWebConsolePlugin`, handling `IOException` internally instead of propagating it. **Changes:** - Remove unused `javax.servlet.ServletException` import - Wrap `doGet` body in a try/catch; on `IOException`, log the error and set HTTP 500 - Wrap `response.sendRedirect(...)` in `doPost` in a try/catch with the same error handling pattern Co-authored-by: Maia <maia@noreply> -- 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]
