- issue error message anyway (not depending on connection)
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user