influxdb: replace log.Fatal() by log.Print()

Fatal() calls os.Exit(1), which causes yanic.service to fail if database is not reachable.
This commit is contained in:
kb-light 2017-06-23 18:14:26 +02:00 committed by Julian K
parent 550e76ae4f
commit fd7e712282

View File

@ -149,7 +149,7 @@ func (conn *Connection) addWorker() {
log.Println("saving", len(bp.Points()), "points")
if err = conn.client.Write(bp); err != nil {
log.Fatal(err)
log.Print(err)
}
writeNow = false
bp = nil