Skip to content

Commit 1d4a1c4

Browse files
fix: overview thumbnails (#169)
* Update error handling / spacing * Improve event handling * Improve event handling for bulk annotations * Address errors * Lint * Address thumbnail rendering issue
1 parent e69ba75 commit 1d4a1c4

File tree

2 files changed

+461
-297
lines changed

2 files changed

+461
-297
lines changed

src/roi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ROI {
2828
this[_uid] = _generateUID()
2929
} else {
3030
if (!(typeof options.uid === 'string' || options.uid instanceof String)) {
31-
throw new Error('uid of ROI must be a string')
31+
throw new Error(`uid of ROI must be a string: ${typeof options.uid}`)
3232
}
3333
this[_uid] = options.uid
3434
}

0 commit comments

Comments
 (0)