print error in default format

Co-Authored-By: jmccann <jmccann.git@gmail.com>
This commit is contained in:
alex
2018-11-30 11:25:02 -06:00
committed by GitHub
parent 9772e39228
commit ee8851987e

View File

@@ -71,7 +71,7 @@ func main() {
if *licensef != "" {
d, err := ioutil.ReadFile(*licensef)
if err != nil {
log.Printf("license file: %s", err)
log.Printf("license file: %v", err)
os.Exit(1)
}
t, err = template.New("").Parse(string(d))