mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Prints traceback as ERROR to help debugging tests
This commit is contained in:
parent
ef9597140b
commit
2d3c44e6b4
1 changed files with 2 additions and 1 deletions
|
|
@ -808,7 +808,8 @@ local function load_metadata()
|
|||
|
||||
if not status then
|
||||
traceError(TRACE_ERROR, TRACE_CONSOLE, string.format("Could not load plugins metadata file '%s'", PLUGIN_RELATIVE_PATHS.metadata))
|
||||
tprint(debug.traceback())
|
||||
local tb = debug.traceback()
|
||||
traceError(TRACE_ERROR, TRACE_CONSOLE, string.format("%s", tb))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue