Fix missed error handling case.

pull/5329/head
Bhargav 2016-01-19 18:09:08 +05:30
parent d23d515636
commit 22bfc7cefd
1 changed files with 2 additions and 2 deletions

View File

@ -96,8 +96,8 @@ func main() {
pt, err := client.NewPoint("cpu_usage", tags, fields, time.Now())
if err != nil {
log.Println("Error: ", err)
}
log.Fatalln("Error: ", err)
}
bp.AddPoint(pt)