Skip to content

Commit

Permalink
Finish FixErrorMessage
Browse files Browse the repository at this point in the history
fixed apolloconfig#38 show `get config value fail` key name
  • Loading branch information
zouyx committed Mar 27, 2019
2 parents 1c7741d + 82b1f8b commit c69d9cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ language: go
sudo: required

go:
- 1.7
- 1.8
- 1.9

env:
Expand Down
2 changes: 1 addition & 1 deletion repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func GetCurrentApolloConfig() *ApolloConnConfig {
func getConfigValue(key string) interface{} {
value, err := apolloConfigCache.Get([]byte(key))
if err != nil {
logger.Error("get config value fail!err:", err)
logger.Errorf("get config value fail!key:%s,err:%s", key,err)
return empty
}

Expand Down

0 comments on commit c69d9cb

Please sign in to comment.