[WIP] Hanging Protocol: improving protocol engine to use OHIFError object
This commit is contained in:
1 parent
638c3df924
commit
6973cd4ec8
3 files changed
+123
-79
No files matched your search
@@ -665,7 +665,8 @@ HP.ProtocolEngine = class ProtocolEngine {
|
||||
}
|
||||
|
||||
if (!currentViewportData.displaySetInstanceUid) {
|
||||
throw new Meteor.Error('No matching display set found?');
|
||||
//@TODO: make OHIFError use Meteor.Error instead of simple Error()
|
||||
throw new OHIF.viewerbase.OHIFError('ProtocolEngine::updateViewports No matching display set found?');
|
||||
}
|
||||
|
||||
viewportData.push(currentViewportData);
|
||||
|
||||
Reference in new issue
Block a user