projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d9a2d2
)
More feedback where errors happen during metadata conversion
author
spf13
<steve.francia@gmail.com>
Fri, 2 May 2014 05:02:49 +0000
(
01:02
-0400)
committer
spf13
<steve.francia@gmail.com>
Fri, 2 May 2014 05:02:49 +0000
(
01:02
-0400)
commands/convert.go
patch
|
blob
|
history
diff --git
a/commands/convert.go
b/commands/convert.go
index 4ca489f9e72e1d22771e74c10c727c203ab212d7..f093d0e1a4aa89b285432b68d78b8e03e7be28a2 100644
(file)
--- 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
}