- issue error message anyway (not depending on connection)

This commit is contained in:
2018-07-03 11:12:02 +02:00
parent 4671c2e570
commit e43a02bd7d

View File

@ -522,7 +522,8 @@ static char *SctActionHandler(void *actionData, char *lastReply,
*/ */
snprintf(eprop, sizeof eprop, "error_during_%s", data->name); snprintf(eprop, sizeof eprop, "error_during_%s", data->name);
emsg = GetHdbProp(node, eprop); emsg = GetHdbProp(node, eprop);
if (emsg == NULL || con != controller->conn) { /* if (emsg == NULL || con != controller->conn) { */
if (emsg == NULL) {
GetHdbPath(node, path, sizeof path); GetHdbPath(node, path, sizeof path);
SCPrintf(con, eLogError, SCPrintf(con, eLogError,
"ERROR: action {%s} in {%s} node %s:\nERROR: %s", data->name, origScript, path, result); "ERROR: action {%s} in {%s} node %s:\nERROR: %s", data->name, origScript, path, result);