Delete ts export queue on startup and add missing error

This commit is contained in:
emanuele-f 2019-06-19 11:21:27 +02:00
parent aa17725323
commit 89b9aebfd7
2 changed files with 5 additions and 0 deletions

View file

@ -661,6 +661,8 @@ end
function driver:_exportTsFile(fname)
if not ntop.exists(fname) then
traceError(TRACE_ERROR, TRACE_CONSOLE,
string.format("Cannot find ts file %s. Some timeseries data will be lost.", fname))
return(false)
end