aboutsummaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorskyblue <ssx205@gmail.com>2014-03-31 15:54:15 +0800
committerskyblue <ssx205@gmail.com>2014-03-31 15:54:15 +0800
commit587e6d80890f9e679b13a1511dab6635fd520775 (patch)
tree22d6e46a31dbc3d30318858d130551c990d67f0a /web.go
parent74ff217c7e8855c5ccf6dbc69cee0823cd65ee1b (diff)
downloadgitea-587e6d80890f9e679b13a1511dab6635fd520775.tar.gz
gitea-587e6d80890f9e679b13a1511dab6635fd520775.zip
add start.sh+bat
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 412dcb622b..cdec9232a9 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
}
}