From 7d0df638ab474b7ef17e3666c3f1bb8d1d94361a Mon Sep 17 00:00:00 2001 From: djalal Date: Tue, 16 Aug 2011 01:24:46 +0000 Subject: [PATCH] o [NSE] When the rule function failes include its type in the error message. --- nse_main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nse_main.lua b/nse_main.lua index 3456c55c3..b135bc8a3 100644 --- a/nse_main.lua +++ b/nse_main.lua @@ -358,8 +358,8 @@ do thread.parent = thread; -- itself return thread; elseif not s then - log_error("A thread for %s failed to load:\n%s\n", self.filename, - traceback(co, tostring(value))); + log_error("A thread for %s failed to load in %s function:\n%s\n", + self.filename, rule, traceback(co, tostring(value))); end return nil; end