From 0c865f1690f87a6ae9c2afc5c71094f1eee2f3fa Mon Sep 17 00:00:00 2001 From: Marko Kevac Date: Tue, 16 Feb 2016 12:39:57 +0300 Subject: [PATCH] fix error message about reading a config file --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index d791d2f..705670b 100644 --- a/config/config.go +++ b/config/config.go @@ -26,7 +26,7 @@ var config Configuration func ReadConfig(fileName string) Configuration { configFile, err := ioutil.ReadFile(fileName) if err != nil { - log.Fatal("Unable to read log file") + log.Fatalf("Unable to read config file '%s'", fileName) } //log.Print(configFile) err = json.Unmarshal(configFile, &config)