This commit is contained in:
Brion Vibber 2006-05-26 01:40:26 +00:00
parent 17d0c1bc5d
commit 2cc1bdff41

View file

@ -1169,9 +1169,11 @@ class Image
unlink( $thumbPath );
} else {
// All good
wfDebugLog( 'thumbnail',
sprintf( 'thumbnail maybe failed on %s, non-empty output kept: "%s" from "%s"',
wfHostname(), trim($err), $cmd ) );
if( $err !== true ) {
wfDebugLog( 'thumbnail',
sprintf( 'thumbnail maybe failed on %s, non-empty output kept: "%s" from "%s"',
wfHostname(), trim($err), $cmd ) );
}
$err = true;
}
}