diff --git a/CHANGELOG.md b/CHANGELOG.md index d8c9ef6..adc4f4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [1.1.1] - 2021-02-25 +### Fixed +- Do not die if *runSender* can't connect to Graphite server. + ## [1.1.0] - 2021-02-18 ### Changed - Do not rewrite **tenant** if it is set. diff --git a/main.go b/main.go index dd81098..32e02e8 100644 --- a/main.go +++ b/main.go @@ -185,7 +185,7 @@ func runSender(host string, port int, outputChan chan *Metric, TLS bool, ignoreC // Create output connection connection, err := createConnection(host, port, TLS, ignoreCert) if err != nil { - slog.WithFields(log.Fields{"error": err}).Fatal("Can't create connection.") + slog.WithFields(log.Fields{"error": err}).Error("Can't create connection.") atomic.AddInt64(&state.ConnectionError, 1) time.Sleep(5 * time.Second) continue