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:
parent
122a34f7d9
commit
996ab4f479
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue