Rejecting the timepoints promise on retrieval error
This commit is contained in:
1 parent
d1c24f262d
commit
68991df87c
1 file changed
+1
@@ -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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user