Mercurial > hg > orthanc-stone
diff Framework/Toolbox/DicomStructureSet.cpp @ 959:13e078adfb94 toa2019082301
Better error log in fetch failure callback +
timeout 600sec in OrthancRestApiCommand +
guard against dead controller access in PanSceneTracker +
relaxed DicomStructureSet AddReferenceSlice method to accept extraneous adds
of the same slice (while trying to understand how it happens in the first place)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 23 Aug 2019 14:16:45 +0200 |
parents | a7351ad54960 |
children | c20dbaab360c |
line wrap: on
line diff
--- a/Framework/Toolbox/DicomStructureSet.cpp Fri Aug 23 10:16:32 2019 +0200 +++ b/Framework/Toolbox/DicomStructureSet.cpp Fri Aug 23 14:16:45 2019 +0200 @@ -581,7 +581,11 @@ { // This geometry is already known LOG(ERROR) << "DicomStructureSet::AddReferencedSlice(): (referencedSlices_.find(sopInstanceUid) != referencedSlices_.end()). sopInstanceUid = " << sopInstanceUid; - throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); + + // TODO: the following assertion has been disabled on 20190822 by BGO + // because it occurred from time to time. Since it wrecked havoc on the + + //throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); } else {