Browse Source

format log

Darien Raymond 9 years ago
parent
commit
5291624165
1 changed files with 2 additions and 2 deletions
  1. 2 2
      shell/point/config_json.go

+ 2 - 2
shell/point/config_json.go

@@ -258,14 +258,14 @@ func JsonLoadConfig(file string) (*Config, error) {
 	fixedFile := os.ExpandEnv(file)
 	fixedFile := os.ExpandEnv(file)
 	rawConfig, err := ioutil.ReadFile(fixedFile)
 	rawConfig, err := ioutil.ReadFile(fixedFile)
 	if err != nil {
 	if err != nil {
-		log.Error("Failed to read server config file (", file, "): ", file, err)
+		log.Error("Point: Failed to read server config file (", file, "): ", file, err)
 		return nil, err
 		return nil, err
 	}
 	}
 
 
 	jsonConfig := &Config{}
 	jsonConfig := &Config{}
 	err = json.Unmarshal(rawConfig, jsonConfig)
 	err = json.Unmarshal(rawConfig, jsonConfig)
 	if err != nil {
 	if err != nil {
-		log.Error("Failed to load server config: ", err)
+		log.Error("Point: Failed to load server config: ", err)
 		return nil, err
 		return nil, err
 	}
 	}