mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Add debug trace
This commit is contained in:
parent
4dea6ddfa0
commit
6ba9052e3b
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue