1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-08 22:46:34 +00:00

o [NSE] When the rule function failes include its type in the error message.

This commit is contained in:
djalal
2011-08-16 01:24:46 +00:00
parent 39be3a4621
commit 7d0df638ab

View File

@@ -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