More feedback where errors happen during metadata conversion

This commit is contained in:
spf13 2014-05-02 01:02:49 -04:00
parent 6d9a2d2497
commit ef2ad4d91f

View file

@ -105,10 +105,12 @@ func convertContents(mark rune) (err error) {
psr, err := parser.ReadFrom(file.Contents)
if err != nil {
jww.ERROR.Println("Error processing file:", path.Join(file.Dir, file.LogicalName))
return err
}
metadata, err := psr.Metadata()
if err != nil {
jww.ERROR.Println("Error processing file:", path.Join(file.Dir, file.LogicalName))
return err
}