X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/5a82103526ab32e018cd999bb6a53d9e097c83a8..c4f62d1c50a1f7298db1e57d9b1d1a8562d48ae9:/IkiWiki/Render.pm diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 5b951df83..d08653711 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -155,8 +155,8 @@ sub scan ($) { #{{{ push @links, titlepage($2); } if ($config{discussion}) { - # Discussion links are a special case since they're not in the - # text of the page, but on its template. + # Discussion links are a special case since they're + # not in the text of the page, but on its template. push @links, "$page/discussion"; } $links{$page}=\@links; @@ -213,6 +213,7 @@ sub refresh () { #{{{ my %exists; my @files; eval q{use File::Find}; + error($@) if $@; find({ no_chdir => 1, wanted => sub {