summaryrefslogtreecommitdiffstats
path: root/commands/convert.go
diff options
context:
space:
mode:
authorspf13 <steve.francia@gmail.com>2014-05-02 01:02:49 -0400
committerspf13 <steve.francia@gmail.com>2014-05-02 01:02:49 -0400
commitef2ad4d91fa41b364f21d290a12e977cc5cf676f (patch)
treeceafc9295908d28cd765b5d8f36876143ed0bd68 /commands/convert.go
parent6d9a2d24976abc486531b67a4533df7774085413 (diff)
More feedback where errors happen during metadata conversion
Diffstat (limited to 'commands/convert.go')
-rw-r--r--commands/convert.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/convert.go b/commands/convert.go
index 4ca489f9e..f093d0e1a 100644
--- a/commands/convert.go
+++ b/commands/convert.go
@@ -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
}