woops
This commit is contained in:
parent
17d0c1bc5d
commit
2cc1bdff41
1 changed files with 5 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue