remove deprecated log

This commit is contained in:
lealife
2017-11-30 18:46:30 +08:00
parent c6937fd184
commit 094d18be46
16 changed files with 44 additions and 52 deletions

View File

@ -6,7 +6,7 @@ import (
// "encoding/json"
"fmt"
"github.com/leanote/leanote/app/info"
. "github.com/leanote/leanote/app/lea"
// . "github.com/leanote/leanote/app/lea"
"github.com/leanote/leanote/app/lea/blog"
"gopkg.in/mgo.v2/bson"
// "github.com/leanote/leanote/app/types"
@ -609,7 +609,7 @@ func (c Blog) Post(userIdOrEmail, noteId string) (re revel.Result) {
hasDomain, userBlog := c.domain()
defer func() {
if err := recover(); err != nil {
Log(err)
// Log(err)
re = c.e404(userBlog.ThemePath)
}
}()