From: Brion Vibber Date: Fri, 26 May 2006 01:38:21 +0000 (+0000) Subject: Also log if we overrode the failure notice due to non-zero-size output file X-Git-Tag: 1.31.0-rc.0~57029 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=17d0c1bc5dfadca1458af69d649919ed8ee11400;p=lhc%2Fweb%2Fwiklou.git Also log if we overrode the failure notice due to non-zero-size output file --- diff --git a/includes/Image.php b/includes/Image.php index fd2ce63fac..0f2251c83f 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -1169,6 +1169,9 @@ 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 ) ); $err = true; } }