]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/mdwn.pm
* Display an error message if /usr/bin/markdown can't be loaded.
[ikiwiki.git] / IkiWiki / Plugin / mdwn.pm
index a344de0674a8345bffd91a61c4cd0b44ee38994a..c1f978ad3b99c2c0cd68c5aa75570725e3db8489 100644 (file)
@@ -19,7 +19,7 @@ sub htmlize ($) { #{{{
                no warnings 'once';
                $blosxom::version="is a proper perl module too much to ask?";
                use warnings 'all';
-               do "/usr/bin/markdown";
+               do "/usr/bin/markdown" || IkiWiki::error("failed to load /usr/bin/markdown: $!");
                require Encode;
        }