Catching all exceptions when querying Solr for highlighting

This commit is contained in:
Eugene Livis 2016-07-14 13:01:44 -04:00
parent b2bd247fa1
commit b29681356d

View File

@ -379,7 +379,7 @@ class HighlightedText implements IndexedText, TextMarkupLookup {
return "<html><pre>" + highlightedContent + "</pre></html>"; //NON-NLS
}
} catch (NoOpenCoreException | KeywordSearchModuleException ex) {
} catch (Exception ex) {
return NbBundle.getMessage(this.getClass(), "HighlightedMatchesSource.getMarkup.queryFailedMsg");
}
}