fix error message display
The gettext call can clear $@ in at least some cases.master
parent
4ff3e2a540
commit
46a6e27347
|
@ -1255,9 +1255,10 @@ sub preprocess ($$$;$$) {
|
|||
);
|
||||
};
|
||||
if ($@) {
|
||||
chomp $@;
|
||||
my $error=$@;
|
||||
chomp $error;
|
||||
$ret="[[!$command <span class=\"error\">".
|
||||
gettext("Error").": $@"."</span>]]";
|
||||
gettext("Error").": $error"."</span>]]";
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue