Skip to content
Snippets Groups Projects
Commit 537024fe authored by Glen Robson's avatar Glen Robson
Browse files

Adding debug information if anno not recognised.

parent de2cdeb7
Branches
Tags
No related merge requests found
...@@ -109,6 +109,8 @@ ...@@ -109,6 +109,8 @@
if (shapeArray.length > 0) { if (shapeArray.length > 0) {
_this.svgOverlay.restoreLastView(shapeArray); _this.svgOverlay.restoreLastView(shapeArray);
_this.annotationsToShapesMap[annotation['@id']] = shapeArray; _this.annotationsToShapesMap[annotation['@id']] = shapeArray;
} else {
console.log("ERROR couldn't find a strategy for " + annotation["@id"]);
} }
} catch(e) { } catch(e) {
console.log('ERROR OsdRegionDrawTool#render anno:', annotation, 'error:', e); console.log('ERROR OsdRegionDrawTool#render anno:', annotation, 'error:', e);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment