mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Reliability fixes
This commit is contained in:
parent
708c2d0c3f
commit
45c3ba17d5
1 changed files with 3 additions and 1 deletions
|
@ -259,7 +259,7 @@ public class DataStoreEntry extends StorageElement {
|
|||
store,
|
||||
storeNode,
|
||||
false,
|
||||
Validity.INCOMPLETE,
|
||||
store == null ? Validity.LOAD_FAILED : Validity.INCOMPLETE,
|
||||
configuration,
|
||||
persistentState,
|
||||
expanded,
|
||||
|
@ -500,6 +500,8 @@ public class DataStoreEntry extends StorageElement {
|
|||
DataStore newStore;
|
||||
try {
|
||||
newStore = JacksonMapper.getDefault().treeToValue(storeNode, DataStore.class);
|
||||
// Check whether we have a provider as well
|
||||
DataStoreProviders.byStore(newStore);
|
||||
} catch (Throwable e) {
|
||||
ErrorEvent.fromThrowable(e).handle();
|
||||
newStore = null;
|
||||
|
|
Loading…
Reference in a new issue