Skip to content

Commit

Permalink
put handleClearListValCache and handleClearListStatCache into separat…
Browse files Browse the repository at this point in the history
…e try-catch blocks
  • Loading branch information
bikegeek committed Aug 15, 2024
1 parent aaaf5f9 commit d0cafe4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions java/edu/ucar/metviewer/MVServlet.java
Original file line number Diff line number Diff line change
Expand Up @@ -1294,6 +1294,10 @@ public void doPost(HttpServletRequest request, HttpServletResponse response) {
strResp.append(MVUtil.domSourceToString(docResp));
try {
handleClearListValCache();
} catch (ParserConfigurationException e) {
logger.error(e.getMessage());
}
try{
handleClearListStatCache();
} catch (ParserConfigurationException e) {
logger.error(e.getMessage());
Expand Down

0 comments on commit d0cafe4

Please sign in to comment.