aboutsummaryrefslogtreecommitdiff
path: root/web.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-03-31 16:29:09 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-03-31 16:29:09 +0800
commitdd9fb807a46db120ef800d7465f50a73a86df288 (patch)
tree80d3ecab43506e03405c742a84dcc61f474e2212 /web.go
parente938863ae6887f7c3c24145ed3b64dc1d27ee675 (diff)
parent9acc1c33be76b05231ec3a5a222af02484689974 (diff)
Merge pull request #47 from shxsun/master
add start.sh and start.bat and python test init scripts
Diffstat (limited to 'web.go')
-rw-r--r--web.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/web.go b/web.go
index 412dcb62..cdec9232 100644
--- a/web.go
+++ b/web.go
@@ -160,6 +160,7 @@ func runWeb(*cli.Context) {
base.Cfg.MustValue("server", "HTTP_PORT", "3000"))
log.Info("Listen: %s", listenAddr)
if err := http.ListenAndServe(listenAddr, m); err != nil {
- log.Critical(err.Error())
+ fmt.Println(err.Error())
+ //log.Critical(err.Error()) // not working now
}
}