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