From 7a0f6f5778597c8fb3cc33193a88d88009d03416 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sun, 20 May 2012 03:42:32 +0200 Subject: [PATCH] give path when not able to write the thumb Change-Id: I970da631b4263b658c2c071a4c10b155100e53fc --- includes/filerepo/ForeignAPIRepo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1