From: Bryan Tong Minh Date: Fri, 11 Feb 2011 15:42:28 +0000 (+0000) Subject: Follow-up r81971: Fix error handling X-Git-Tag: 1.31.0-rc.0~32043 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=de9b4fb4632204635312cbdafac6b33eb5530fb5;p=lhc%2Fweb%2Fwiklou.git Follow-up r81971: Fix error handling --- 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() ); } }