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:
parent
550e76ae4f
commit
fd7e712282
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user