From e43a02bd7de9183d61b630cd536ade3d394e4bf8 Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Tue, 3 Jul 2018 11:12:02 +0200 Subject: [PATCH] - issue error message anyway (not depending on connection) --- scriptcontext.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);