Rejecting the timepoints promise on retrieval error
This commit is contained in:
parent
d1c24f262d
commit
68991df87c
@ -54,6 +54,7 @@ class TimepointApi {
|
|||||||
resolve();
|
resolve();
|
||||||
}).catch(reason => {
|
}).catch(reason => {
|
||||||
OHIF.log.error(`Timepoint retrieval function failed: ${reason}`);
|
OHIF.log.error(`Timepoint retrieval function failed: ${reason}`);
|
||||||
|
reject(reason);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user