Mercurial > hg > orthanc-python
diff Sources/OnStoredInstanceCallback.cpp @ 171:c8de83fe7faa
removed deprecation warnings
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Jun 2024 15:52:51 +0200 |
parents | 6fada29b6759 |
children | 28531e615104 |
line wrap: on
line diff
--- a/Sources/OnStoredInstanceCallback.cpp Thu Jun 27 14:26:59 2024 +0200 +++ b/Sources/OnStoredInstanceCallback.cpp Thu Jun 27 15:52:51 2024 +0200 @@ -61,8 +61,7 @@ std::string traceback; if (lock.HasErrorOccurred(traceback)) { - OrthancPlugins::LogError("Error in the Python on-stored-instance callback, " - "traceback:\n" + traceback); + ORTHANC_PLUGINS_LOG_ERROR("Error in the Python on-stored-instance callback, traceback:\n" + traceback); return OrthancPluginErrorCode_Plugin; } else