mirror of
https://github.com/unpoller/unpoller.git
synced 2026-10-19 07:41:32 +02:00
log invalids
This commit is contained in:
@@ -242,6 +242,8 @@ func (u *InfluxUnifi) loopPoints(r report) {
|
||||
u.batchEvent(r, v)
|
||||
case *unifi.IDS:
|
||||
u.batchIDS(r, v)
|
||||
default:
|
||||
u.Collector.LogErrorf("invalid event: %T", v)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user