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 {
|
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 {
|
||||||
|
|
Loading…
Reference in New Issue