diff --git a/xorm/reverse.go b/xorm/reverse.go index 4ca08d16..41022601 100644 --- a/xorm/reverse.go +++ b/xorm/reverse.go @@ -232,7 +232,7 @@ func runReverse(cmd *Command, args []string) { if langTmpl.Formater != nil { source, err = langTmpl.Formater(string(tplcontent)) if err != nil { - logging.Error("%v", err) + logging.Error("%v-%v", err, string(tplcontent)) return err } } else {