fix error message about reading a config file

This commit is contained in:
Marko Kevac 2016-02-16 12:39:57 +03:00
parent 930a75c045
commit 0c865f1690
1 changed files with 1 additions and 1 deletions

View File

@ -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)