Add debug trace

This commit is contained in:
emanuele-f 2020-01-02 14:59:09 +01:00
parent 4dea6ddfa0
commit 6ba9052e3b

View file

@ -42,6 +42,10 @@ end
-- ##############################################
local function get_alert_triggered_key(type_info)
if((type_info == nil) or (type_info.alert_type == nil)) then
tprint(debug.traceback())
end
return(string.format("%d@%s", type_info.alert_type.alert_id, type_info.alert_subtype or ""))
end