mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Added traceback in case of nil score
This commit is contained in:
parent
3db8cc6cc8
commit
3f214341ea
18 changed files with 31 additions and 19 deletions
|
|
@ -172,7 +172,7 @@ function syslog.dequeueRecipientAlerts(recipient, budget)
|
|||
|
||||
-- Most recent notifications first
|
||||
for _, notification in ipairs(notifications) do
|
||||
syslog.sendMessage(settings, notification.alert, ntop.mapScoreToSeverity(notification.score))
|
||||
syslog.sendMessage(settings, notification.alert, map_score_to_severity(notification.score))
|
||||
end
|
||||
|
||||
return {success = true, more_available = true}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue