From: Antoine Musso Date: Sun, 20 May 2012 01:42:32 +0000 (+0200) Subject: give path when not able to write the thumb X-Git-Tag: 1.31.0-rc.0~23563 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=7a0f6f5778597c8fb3cc33193a88d88009d03416;p=lhc%2Fweb%2Fwiklou.git give path when not able to write the thumb Change-Id: I970da631b4263b658c2c071a4c10b155100e53fc --- diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index 5fab3ab75d..0b63dd7068 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -292,7 +292,7 @@ class ForeignAPIRepo extends FileRepo { $op = array( 'op' => 'create', 'dst' => $localFilename, 'content' => $thumb ); if( !$backend->doOperation( $op )->isOK() ) { wfRestoreWarnings(); - wfDebug( __METHOD__ . " could not write to thumb path\n" ); + wfDebug( __METHOD__ . " could not write to thumb path '$localFilename'\n" ); return $foreignUrl; } $knownThumbUrls[$sizekey] = $localUrl;