chore: throw our error if we encounter one (no swallow) (#1337)
This commit is contained in:
parent
2e215aed4c
commit
5036615e00
@ -40,7 +40,9 @@ export default class RetrieveMetadataLoader {
|
|||||||
if (result && result.length) {
|
if (result && result.length) {
|
||||||
break; // closes iterator in case data is retrieved successfully
|
break; // closes iterator in case data is retrieved successfully
|
||||||
}
|
}
|
||||||
} catch (e) { }
|
} catch (e) {
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (loaders.next().done && !result) {
|
if (loaders.next().done && !result) {
|
||||||
@ -51,8 +53,8 @@ export default class RetrieveMetadataLoader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Methods to be overwrite
|
// Methods to be overwrite
|
||||||
async configLoad() { }
|
async configLoad() {}
|
||||||
async preLoad() { }
|
async preLoad() {}
|
||||||
async load(preLoadData) { }
|
async load(preLoadData) {}
|
||||||
async posLoad(loadData) { }
|
async posLoad(loadData) {}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user