diff OrthancServer/OrthancRestApi/OrthancRestModalities.cpp @ 2955:bbfd95a0c429

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