Mercurial > hg > orthanc-webviewer
diff Plugin/Plugin.cpp @ 205:7edc2c82996c
turning misleading error into warning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 18 Jul 2018 15:28:42 +0200 |
parents | 0ef2d8b970ab |
children | d1ed9efdea6c |
line wrap: on
line diff
--- a/Plugin/Plugin.cpp Sat Jul 14 11:31:21 2018 +0200 +++ b/Plugin/Plugin.cpp Wed Jul 18 15:28:42 2018 +0200 @@ -435,7 +435,7 @@ *target = NULL; std::string s = "Cannot decode image using GDCM: " + std::string(e.What()); - OrthancPluginLogError(context_, s.c_str()); + OrthancPluginLogWarning(context_, s.c_str()); return OrthancPluginErrorCode_Plugin; } catch (std::runtime_error& e) @@ -443,7 +443,7 @@ *target = NULL; std::string s = "Cannot decode image using GDCM: " + std::string(e.what()); - OrthancPluginLogError(context_, s.c_str()); + OrthancPluginLogWarning(context_, s.c_str()); return OrthancPluginErrorCode_Plugin; } }