convert fatal error to warning
Since perlmagick is not a hard dep, and goodstuff is enabled by default, imgs should not crash buildsmaster
parent
71fba7791f
commit
e4e3d7e2d4
|
@ -46,7 +46,7 @@ sub preprocess (@) { #{{{
|
|||
my $base = IkiWiki::basename($file);
|
||||
|
||||
eval q{use Image::Magick};
|
||||
error($@) if $@;
|
||||
return "[[img ".gettext("Image::Magick not installed")."]]" if $@;
|
||||
my $im = Image::Magick->new;
|
||||
my $imglink;
|
||||
my $r;
|
||||
|
|
Loading…
Reference in New Issue