changed - to {} in error message
This commit is contained in:
@@ -420,16 +420,17 @@ static char *SctActionHandler(void *actionData, char *lastReply,
|
||||
*
|
||||
* Replaced <> by - because it messed up XML for Gumtree
|
||||
* Mark Koennecke
|
||||
* replaced by {} MZ
|
||||
*/
|
||||
snprintf(eprop, sizeof eprop, "error_during_%s", data->name);
|
||||
emsg = GetHdbProp(node, eprop);
|
||||
if (emsg == NULL || con != controller->conn) {
|
||||
GetHdbPath(node, path, sizeof path);
|
||||
SCPrintf(con, eError,
|
||||
"ERROR: action - %s - in {%s} node %s:\nERROR: %s",
|
||||
"ERROR: action {%s} in {%s} node %s:\nERROR: %s",
|
||||
data->name, origScript, path, result);
|
||||
}
|
||||
snprintf(msg, sizeof msg, "- %s - %s", origScript, result);
|
||||
snprintf(msg, sizeof msg, "{%s} %s", origScript, result);
|
||||
if (strcasecmp(data->name, "read") == 0) {
|
||||
SetHdbProperty(node, "geterror", result);
|
||||
}
|
||||
@@ -482,7 +483,7 @@ static char *SctActionHandler(void *actionData, char *lastReply,
|
||||
if (emsg != NULL) {
|
||||
GetHdbPath(node, path, sizeof path);
|
||||
SCPrintf(con, eError,
|
||||
"action - %s -: success after error message (%s)\n %s",
|
||||
"action {%s}: success after error message (%s)\n %s",
|
||||
data->name, path, emsg);
|
||||
SetHdbProperty(node, eprop, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user