# HG changeset patch # User Sebastien Jodogne # Date 1531920522 -7200 # Node ID 7edc2c82996c4190e01c2f19144625d74bbf1b89 # Parent a27f6c89f000ebb0ea93aacbc71fa4c63a6579eb turning misleading error into warning diff -r a27f6c89f000 -r 7edc2c82996c Plugin/Plugin.cpp --- 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; } }