Simplify mdwn.pm Markdown::Markdown error message.
authorW. Trevor King <wking@drexel.edu>
Wed, 6 Oct 2010 13:36:10 +0000 (09:36 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 6 Oct 2010 13:36:10 +0000 (09:36 -0400)
Avoids:
  ../IkiWiki/Plugin/mdwn.pm:100: invalid variable interpolation at "$"

IkiWiki/Plugin/mdwn.pm

index e29c91355d04d4b3ed6ee219abf52b7edd3ae37c..0eb496c0e7f9a500badd9233e68c6d189db81764 100644 (file)
@@ -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}");
                                }
                        }
                }