r85612 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85611‎ | r85612 | r85613 >
Date:09:09, 7 April 2011
Author:catrope
Status:ok
Tags:
Comment:
1.17wmf1: MFT r85610
Modified paths:
  • /branches/wmf/1.17wmf1/includes/specials/SpecialUploadStash.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/includes/specials/SpecialUploadStash.php
@@ -227,7 +227,7 @@
228228 $status = $req->execute();
229229 if ( ! $status->isOK() ) {
230230 $errors = $status->getErrorsArray();
231 - throw new MWException( "Fetching thumbnail failed: " . join( ", ", $errors ) );
 231+ throw new MWException( "Fetching thumbnail failed: " . print_r( $errors, 1 ) );
232232 }
233233 $contentType = $req->getResponseHeader( "content-type" );
234234 if ( ! $contentType ) {
Property changes on: branches/wmf/1.17wmf1/includes/specials/SpecialUploadStash.php
___________________________________________________________________
Modified: svn:mergeinfo
235235 Merged /trunk/phase3/includes/specials/SpecialUploadStash.php:r85610

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85610join() appears to be inadequate for some production errorsneilk08:58, 7 April 2011

Status & tagging log