From 68991df87cf53b3f9ebbee7128566e04604929b6 Mon Sep 17 00:00:00 2001 From: Bruno Alves de Faria Date: Fri, 29 Dec 2017 09:51:25 -0200 Subject: [PATCH] Rejecting the timepoints promise on retrieval error --- Packages/ohif-measurements/both/configuration/timepoints.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Packages/ohif-measurements/both/configuration/timepoints.js b/Packages/ohif-measurements/both/configuration/timepoints.js index 0ff13ec48..2849d2383 100644 --- a/Packages/ohif-measurements/both/configuration/timepoints.js +++ b/Packages/ohif-measurements/both/configuration/timepoints.js @@ -54,6 +54,7 @@ class TimepointApi { resolve(); }).catch(reason => { OHIF.log.error(`Timepoint retrieval function failed: ${reason}`); + reject(reason); }); }); }