# HG changeset patch # User Sebastien Jodogne # Date 1544475121 -3600 # Node ID 5a6a2c5bf73f4cb89e4e573a767965a4e13dba27 # Parent 657d77bb13439abc555096f3f1325d1d4a63f11c fix basic plugin sample diff -r 657d77bb1343 -r 5a6a2c5bf73f Plugins/Samples/Basic/Plugin.c --- a/Plugins/Samples/Basic/Plugin.c Mon Dec 10 20:32:47 2018 +0100 +++ b/Plugins/Samples/Basic/Plugin.c Mon Dec 10 21:52:01 2018 +0100 @@ -40,7 +40,7 @@ { // NB: Calling "OrthancPluginSendMethodNotAllowed(context, output, "GET");" // is preferable. This is a sample to demonstrate "OrthancPluginSetHttpErrorDetails()". - OrthancPluginSetHttpErrorDetails(context, output, "This Callback1() can only be used by a GET call"); + OrthancPluginSetHttpErrorDetails(context, output, "This Callback1() can only be used by a GET call", 1 /* log */); return OrthancPluginErrorCode_ParameterOutOfRange; }