Mercurial > hg > orthanc
diff Core/SharedLibrary.cpp @ 2954:d924f9bb61cc
taking advantage of details in OrthancException
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 03 Dec 2018 14:35:34 +0100 |
parents | be5c0f4155f6 |
children | 4e43e67f8ecf |
line wrap: on
line diff
--- a/Core/SharedLibrary.cpp Mon Dec 03 11:49:39 2018 +0100 +++ b/Core/SharedLibrary.cpp Mon Dec 03 14:35:34 2018 +0100 @@ -119,8 +119,9 @@ if (result == NULL) { - LOG(ERROR) << "Shared library does not expose function \"" << name << "\""; - throw OrthancException(ErrorCode_SharedLibrary); + throw OrthancException( + ErrorCode_SharedLibrary, + "Shared library does not expose function \"" + name + "\""); } else {