Adds a traceback print on unknown alert source

This commit is contained in:
Simone Mainardi 2017-06-09 11:24:13 +02:00
parent b9b9378533
commit 5d9e90e17b

View file

@ -619,6 +619,7 @@ function getAlertSource(entity, entity_value, alt_name)
}
elseif entity_value ~= "*" --[[ used in redis key stuff ]] then
io.write("WARNING: Unknown alert source for entity "..tostring(entity_value).."\n")
io.write(debug.traceback().."\n")
end
end
end