add err info for reverse code formatting

This commit is contained in:
Lunny Xiao 2013-10-15 22:48:47 +08:00
parent 78cdb912e0
commit b618c3870d
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ func runReverse(cmd *Command, args []string) {
if langTmpl.Formater != nil { if langTmpl.Formater != nil {
source, err = langTmpl.Formater(string(tplcontent)) source, err = langTmpl.Formater(string(tplcontent))
if err != nil { if err != nil {
logging.Error("%v", err) logging.Error("%v-%v", err, string(tplcontent))
return err return err
} }
} else { } else {