Mercurial > hg > orthanc-webviewer
diff Plugin/SeriesInformationAdapter.cpp @ 79:abdde1dfb3eb
use sdk 0.9.4
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 25 Sep 2015 12:32:37 +0200 |
parents | a6492d20b2a8 |
children | 46ec13a1177c |
line wrap: on
line diff
--- a/Plugin/SeriesInformationAdapter.cpp Fri Sep 25 11:29:17 2015 +0200 +++ b/Plugin/SeriesInformationAdapter.cpp Fri Sep 25 12:32:37 2015 +0200 @@ -61,7 +61,8 @@ if (!cache_.Access(tmp, CacheBundle_InstanceInformation, instanceId)) { - throw Orthanc::OrthancException("The cache is corrupted. Delete it to reconstruct it."); + OrthancPluginLogError(context_, "The cache is corrupted. Delete it to reconstruct it."); + throw Orthanc::OrthancException(Orthanc::ErrorCode_CorruptedFile); } InstanceInformation instance(tmp);