NIHVIVO-3659 This error can happen many, many times on a development system. The full stack trace is not helpful.

This commit is contained in:
j2blake 2012-03-28 14:38:43 +00:00
parent 122a34f7d9
commit 996ab4f479

View file

@ -110,7 +110,7 @@ public class FileServingServlet extends VitroHttpServlet {
in = fileStorage.getInputStream(fileInfo.getBytestreamUri(), in = fileStorage.getInputStream(fileInfo.getBytestreamUri(),
actualFilename); actualFilename);
} catch (FileNotFoundException e) { } catch (FileNotFoundException e) {
log.error(e, e); log.error("Expected file doesn't exist: " + e);
response.sendError(SC_INTERNAL_SERVER_ERROR, e.toString()); response.sendError(SC_INTERNAL_SERVER_ERROR, e.toString());
return; return;
} }