Crash on read error, until a soft reset is implemented

This commit is contained in:
lemmi 2020-01-23 04:27:59 +01:00
parent d9b8a90701
commit 2980320d55
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ func monitor(done <-chan struct{}, rs *routeStats) {
for { for {
ms, err := c.Receive() ms, err := c.Receive()
if err != nil { if err != nil {
log.Println(err) log.Fatal(err)
} }
for _, m := range ms { for _, m := range ms {