diff OrthancServer/LuaScripting.cpp @ 2955:bbfd95a0c429

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 03 Dec 2018 14:59:23 +0100
parents f395460af74d
children 4e43e67f8ecf
line wrap: on
line diff
--- a/OrthancServer/LuaScripting.cpp	Mon Dec 03 14:35:34 2018 +0100
+++ b/OrthancServer/LuaScripting.cpp	Mon Dec 03 14:59:23 2018 +0100
@@ -472,8 +472,8 @@
       }
       else
       {
-        LOG(ERROR) << "No peer with symbolic name: " << name;
-        throw OrthancException(ErrorCode_UnknownResource);
+        throw OrthancException(ErrorCode_UnknownResource,
+                               "No peer with symbolic name: " + name);
       }
     }