From 53f873b688dedfa849ac5f07c4558f36a2d2efb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Mon, 27 Aug 2018 18:18:49 +0100 Subject: [PATCH] fix(backend): fix invalid error formatting --- internal/config/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 7eac867cd..3ba60ebf5 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -95,18 +95,18 @@ func (config *configSchema) Read() { // HOST and PORT is used by gin err = v.BindEnv("listen.address", "HOST") if err != nil { - log.Errorf("Failed to bind listen.address config key to the HOST env variable", err) + log.Errorf("Failed to bind listen.address config key to the HOST env variable: %s", err) } err = v.BindEnv("listen.port", "PORT") if err != nil { - log.Errorf("Failed to bind listen.port config key to the PORT env variable", err) + log.Errorf("Failed to bind listen.port config key to the PORT env variable: %s", err) } // raven-go expects this err = v.BindEnv("sentry.private", "SENTRY_DSN") if err != nil { - log.Errorf("Failed to bind sentry.private config key to the SENTRY_DSN env variable", err) + log.Errorf("Failed to bind sentry.private config key to the SENTRY_DSN env variable: %s", err) } configFile := v.GetString("config.file")