mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
4650 add exception handling for executionexception when cache is unable to retrieve value
This commit is contained in:
parent
5b843dadc1
commit
c50fb57afd
@ -641,7 +641,7 @@ abstract class AbstractSqlEamDb implements EamDb {
|
||||
return dataSourceCacheByDsObjectId.get(getDataSourceByDSObjectIdCacheKey(
|
||||
eamDataSource.getCaseID(), eamDataSource.getDataSourceObjectID()),
|
||||
() -> getDataSourceFromCr(eamDataSource.getCaseID(), eamDataSource.getDataSourceObjectID()));
|
||||
} catch (CacheLoader.InvalidCacheLoadException ex) {
|
||||
} catch (CacheLoader.InvalidCacheLoadException | ExecutionException ex) {
|
||||
throw new EamDbException(String.format("Unable to to INSERT or get data source %s in central repo", eamDataSource.getName()), ex);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user