diff --git a/org/document.go b/org/document.go index 7357fda..8dba04f 100644 --- a/org/document.go +++ b/org/document.go @@ -241,7 +241,7 @@ func (d *Document) parseOne(i int, stop stopFn) (consumed int, node Node) { if consumed != 0 { return consumed, node } - d.Log.Printf("Could not parse token %#v: Falling back to treating it as plain text.", d.tokens[i]) + d.Log.Printf("Could not parse token %#v in file %s: Falling back to treating it as plain text.", d.tokens[i], d.Path) m := plainTextRegexp.FindStringSubmatch(d.tokens[i].matches[0]) d.tokens[i] = token{"text", len(m[1]), m[2], m} return d.parseOne(i, stop)