Skip to content
Snippets Groups Projects
Commit 5287e9b0 authored by adam-m's avatar adam-m
Browse files

catch out of memory error from modules in file ingest pipeline, in addition to...

catch out of memory error from modules in file ingest pipeline, in addition to Exception, since they are different
parent fd9324f6
No related branches found
No related tags found
No related merge requests found
......@@ -899,6 +899,10 @@ public boolean cancel() {
logger.log(Level.SEVERE, "Error: unexpected exception from module: " + module.getName(), e);
stats.addError(module);
}
catch (OutOfMemoryError e) {
logger.log(Level.SEVERE, "Error: out of memory from module: " + module.getName(), e);
stats.addError(module);
}
} //end for every module
//free the internal file resource after done with every module
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment