mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge pull request #1625 from eugene7646/kws
Added baloon notification if KWS core creation fails
This commit is contained in:
commit
d79df41db9
@ -223,6 +223,7 @@ Server.connect.exception.msg=Failed to connect to Solr server\:
|
||||
Server.openCore.exception.msg=Core open requested, but server not yet running
|
||||
Server.openCore.exception.cantOpen.msg=Could not open Core
|
||||
Server.openCore.exception.cantOpen.msg2=Could not open Core
|
||||
Server.openCore.exception.cantOpenForCase.msg=Could not create keyword search index for case {0}
|
||||
Server.request.exception.exception.msg=Could not issue Solr request
|
||||
Server.commit.exception.msg=Could not commit index
|
||||
Server.addDoc.exception.msg=Could not add document to index via update handler\: {0}
|
||||
|
@ -626,7 +626,12 @@ public class Server {
|
||||
|
||||
Case currentCase = Case.getCurrentCase();
|
||||
|
||||
currentCore = openCore(currentCase);
|
||||
try {
|
||||
currentCore = openCore(currentCase);
|
||||
} catch (KeywordSearchModuleException ex) {
|
||||
MessageNotifyUtil.Notify.error(NbBundle.getMessage(Server.class, "Server.openCore.exception.cantOpenForCase.msg", currentCase.getName()), ex.getCause().getMessage());
|
||||
throw ex;
|
||||
}
|
||||
serverAction.putValue(CORE_EVT, CORE_EVT_STATES.STARTED);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user