Skip to content

Commit

Permalink
fix: Better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim committed Sep 3, 2023
1 parent 9008d04 commit 0829013
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .doc/README_DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ Preparation for semantic releases, use commit prefixes as defined in
* **test**: Adding missing tests or correcting existing tests

## Links
* [semantic-relase](https://semantic-release.gitbook.io)
* [semantic-relase](https://semantic-release.gitbook.io)
* [go-styleguide](https://github.com/bahlo/go-styleguide)
2 changes: 1 addition & 1 deletion persistence/influxdb_http_request_persister.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (persister InfluxdbHttpRequestPersister) Persist(httpRequest logline.HttpRe

point, err := client.NewPoint(SeriesName, tags, fields, httpRequest.Timestamp)
if err != nil {
log.Fatal(err)
log.Fatal("influxdb_http_request_persister: Error creating new point:", err)
}

batchPoints.AddPoint(point)
Expand Down

0 comments on commit 0829013

Please sign in to comment.