mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes nil granularity
This commit is contained in:
parent
f9e9d9fef7
commit
e058583a77
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ function Alert:set_granularity(granularity)
|
|||
|
||||
self.granularity = alert_consts.alerts_granularities[granularity]
|
||||
if(self.granularity == nil) then
|
||||
print("[ERROR] Unknown granularity "..granularity.."\n")
|
||||
print("[ERROR] Unknown granularity "..(granularity or '').."\n")
|
||||
print(debug.traceback())
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue