From 17d0c1bc5dfadca1458af69d649919ed8ee11400 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 26 May 2006 01:38:21 +0000 Subject: [PATCH] Also log if we overrode the failure notice due to non-zero-size output file --- includes/Image.php | 3 +++ 1 file changed, 3 insertions(+) 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; } } -- 2.20.1