From de9b4fb4632204635312cbdafac6b33eb5530fb5 Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Fri, 11 Feb 2011 15:42:28 +0000 Subject: [PATCH] Follow-up r81971: Fix error handling --- includes/api/ApiQueryImageInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQueryImageInfo.php b/includes/api/ApiQueryImageInfo.php index 0a8243dd30..d52fb821cd 100644 --- a/includes/api/ApiQueryImageInfo.php +++ b/includes/api/ApiQueryImageInfo.php @@ -325,7 +325,7 @@ class ApiQueryImageInfo extends ApiQueryBase { } } if ( $mto && $mto->isError() ) { - $this->setWarning( 'Error creating thumbnail for ' . $file->getName . + $this->setWarning( 'Error creating thumbnail for ' . $file->getName() . ': ' . $mto->toText() ); } } -- 2.20.1