Index: trunk/phase3/includes/specials/SpecialUploadStash.php |
— | — | @@ -231,7 +231,7 @@ |
232 | 232 | $status = $req->execute(); |
233 | 233 | if ( ! $status->isOK() ) { |
234 | 234 | $errors = $status->getWikiTextArray( $status->getErrorsArray() ); |
235 | | - throw new MWException( "Fetching thumbnail failed: " . join( ", ", $errors ) ); |
| 235 | + throw new MWException( "Fetching thumbnail failed: " . print_r( $errors, 1 ) ); |
236 | 236 | } |
237 | 237 | $contentType = $req->getResponseHeader( "content-type" ); |
238 | 238 | if ( ! $contentType ) { |