diff --git a/README.md b/README.md index 4dcaed8..63c05e3 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,10 @@ A Web-based IDE for Teams using Golang. ## Motivation * **Team** IDE: - * Safe and reliable: the project source code stored on the server in real time, the developer's machine crashes without losing any source code - * Unified environment: server unified development environment configuration, the developer machine without any additional configuration - * Out of the box: 5 minutes to setup a server then open browser to develop, debug - * Version Control: each developer has its own source code repository, easy sync with the trunk + * _Safe and reliable_: the project source code stored on the server in real time, the developer's machine crashes without losing any source code + * _Unified environment_: server unified development environment configuration, the developer machine without any additional configuration + * _Out of the box_: 5 minutes to setup a server then open browser to develop, debug + * _Version Control_: each developer has its own source code repository, easy sync with the trunk * **Web-based** IDE: * Developer needs a browser only * Cross-platform, even on mobile devices diff --git a/conf/wide.go b/conf/wide.go index bccf642..420f10d 100644 --- a/conf/wide.go +++ b/conf/wide.go @@ -299,7 +299,7 @@ func initCustomizedConfs() { // 1. /static/user/{username}/style.css func UpdateCustomizedConf(username string) { var u *User = nil - for _, user := range Wide.Users { // ... maybe a beauty of the trade-off between design and implementation + for _, user := range Wide.Users { // maybe it is a beauty of the trade-off of the another world between design and implementation if user.Name == username { u = user } @@ -338,7 +338,11 @@ func UpdateCustomizedConf(username string) { defer fout.Close() - t.Execute(fout, model) + if err := t.Execute(fout, model); nil != err { + glog.Error(err) + + os.Exit(-1) + } } // initWorkspaceDirs initializes the directories of master workspace, users' workspaces.