log invalids

This commit is contained in:
davidnewhall2 2020-06-21 13:28:25 -07:00
parent cb2218ecaa
commit 7c90bccdeb
1 changed files with 2 additions and 0 deletions

View File

@ -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)
}
}