mirror of
https://github.com/nmap/nmap.git
synced 2026-01-26 08:09:07 +00:00
o [NSE] Use the correct variable 'value' instead of 'rule_return' to
show the error message of the rule function and why it has failed.
This commit is contained in:
@@ -358,8 +358,8 @@ do
|
||||
thread.parent = thread; -- itself
|
||||
return thread;
|
||||
elseif not s then
|
||||
print_debug(1, "a thread for %s failed to load:\n%s\n", self.filename,
|
||||
traceback(co, tostring(rule_return)));
|
||||
log_error("A thread for %s failed to load:\n%s\n", self.filename,
|
||||
traceback(co, tostring(value)));
|
||||
end
|
||||
return nil;
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user