Mercurial > hg > orthanc-webviewer
changeset 205:7edc2c82996c
turning misleading error into warning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 18 Jul 2018 15:28:42 +0200 |
parents | a27f6c89f000 |
children | d1ed9efdea6c |
files | Plugin/Plugin.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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; } }