# HG changeset patch # User Sebastien Jodogne # Date 1611328236 -3600 # Node ID a5e98f4af53d8712384ebfde817e5ff31d7f7c22 # Parent 4cb232b421681141de16cf69273d5dda9f682042 remove false error diff -r 4cb232b42168 -r a5e98f4af53d Plugin/Configuration.cpp --- a/Plugin/Configuration.cpp Fri Jan 22 14:20:58 2021 +0100 +++ b/Plugin/Configuration.cpp Fri Jan 22 16:10:36 2021 +0100 @@ -769,8 +769,9 @@ std::string property; DicomWebServers::GetInstance().SerializeGlobalProperty(property); - if (!OrthancPluginSetGlobalProperty( - OrthancPlugins::GetGlobalContext(), GLOBAL_PROPERTY_SERVERS, property.c_str())) + if (OrthancPluginSetGlobalProperty( + OrthancPlugins::GetGlobalContext(), GLOBAL_PROPERTY_SERVERS, property.c_str()) != + OrthancPluginErrorCode_Success) { LOG(ERROR) << "Cannot write the DICOMweb servers into the database"; }