Improve error message on missing shortcode inner content

Fixes #933
This commit is contained in:
bep
2015-02-28 19:24:30 +01:00
parent 9d80ecb4d8
commit 241f9f9e46
2 changed files with 2 additions and 2 deletions

View File

@@ -313,7 +313,7 @@ Loop:
// return that error, more specific
continue
}
return sc, fmt.Errorf("Shortcode '%s' has no .Inner, yet a closing tag was provided", next.val)
return sc, fmt.Errorf("Shortcode '%s' in page '%s' has no .Inner, yet a closing tag was provided", next.val, p.FullFilePath())
}
pt.consume(2)
return sc, nil