From: W. Trevor King Date: Wed, 6 Oct 2010 13:36:10 +0000 (-0400) Subject: Simplify mdwn.pm Markdown::Markdown error message. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1b7c3fe39e5499d7418bef02e63f5f744d055371;p=ikiwiki.git Simplify mdwn.pm Markdown::Markdown error message. Avoids: ../IkiWiki/Plugin/mdwn.pm:100: invalid variable interpolation at "$" --- diff --git a/IkiWiki/Plugin/mdwn.pm b/IkiWiki/Plugin/mdwn.pm index e29c91355..0eb496c0e 100644 --- a/IkiWiki/Plugin/mdwn.pm +++ b/IkiWiki/Plugin/mdwn.pm @@ -97,7 +97,7 @@ sub htmlize (@) { $markdown_sub=\&Markdown::Markdown; } else { - error(sprintf(gettext("failed to load Markdown.pm perl module (%s) or $config{markdown_path} (%s)"), $@, $!)); + error("failed to load Markdown.pm perl module or $config{markdown_path}"); } } }