Skip to content

Commit

Permalink
Do not include full error message with file paths when returning a 40…
Browse files Browse the repository at this point in the history
…4 from opendap
  • Loading branch information
tdrwenski committed Sep 11, 2024
1 parent 9980e78 commit 95cf54e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public void doGet(HttpServletRequest request, HttpServletResponse response) {
// plain ol' 404
} catch (FileNotFoundException e) {
// e.printStackTrace();
sendErrorResponse(response, HttpServletResponse.SC_NOT_FOUND, e.getMessage());
sendErrorResponse(response, HttpServletResponse.SC_NOT_FOUND, "FileNotFound: No such file or directory");

// DAP2Exception bad url
} catch (BadURLException e) {
Expand Down

0 comments on commit 95cf54e

Please sign in to comment.