diff --git a/tds/src/main/java/thredds/server/opendap/OpendapServlet.java b/tds/src/main/java/thredds/server/opendap/OpendapServlet.java index 733e88bb08..afe7de04fc 100644 --- a/tds/src/main/java/thredds/server/opendap/OpendapServlet.java +++ b/tds/src/main/java/thredds/server/opendap/OpendapServlet.java @@ -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) {