mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
handle no solr code exception in extracted content
This commit is contained in:
parent
6adc363f41
commit
ae4731f3a6
@ -199,7 +199,10 @@ public class ExtractedContentViewer implements DataContentViewer {
|
|||||||
try {
|
try {
|
||||||
solrCore = KeywordSearch.getServer().getCore();
|
solrCore = KeywordSearch.getServer().getCore();
|
||||||
} catch (RuntimeException e) {
|
} catch (RuntimeException e) {
|
||||||
logger.log(Level.INFO, "Could not get Solr Core");
|
logger.log(Level.INFO, "Could not get Solr Core", e);
|
||||||
|
}
|
||||||
|
catch (Exception e) {
|
||||||
|
logger.log(Level.INFO, "Could not get Solr Core", e);
|
||||||
}
|
}
|
||||||
if (solrCore == null) {
|
if (solrCore == null) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user