add err info for reverse code formatting
This commit is contained in:
parent
78cdb912e0
commit
b618c3870d
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue