summaryrefslogtreecommitdiffstats
path: root/routers/install.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-06-08 04:45:34 -0400
committerUnknown <joe2010xtmf@163.com>2014-06-08 04:45:34 -0400
commit302c863cda651130286838309d3d897cace93534 (patch)
treebc2b5e8efd513304806e1e900141856d3adfce48 /routers/install.go
parenta0318db2f9094eda2beea19ed323244b4ae30831 (diff)
downloadgitea-302c863cda651130286838309d3d897cace93534.tar.gz
gitea-302c863cda651130286838309d3d897cace93534.zip
Fix #242
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/routers/install.go b/routers/install.go
index f44391a46c..eb0fc199cf 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -14,7 +14,6 @@ import (
"github.com/Unknwon/goconfig"
"github.com/go-martini/martini"
"github.com/go-xorm/xorm"
- qlog "github.com/qiniu/log"
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/auth"
@@ -56,7 +55,7 @@ func GlobalInit() {
if setting.InstallLock {
if err := models.NewEngine(); err != nil {
- qlog.Fatal(err)
+ log.Fatal("Fail to initialize ORM engine: %v", err)
}
models.HasEngine = true