From d2d692e17b8fa64f3d15b7ddf23173954317d31b Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sun, 28 Jun 2015 20:03:00 +0200 Subject: [PATCH] Log http error in ForeignAPIRepo::httpGet This makes at least the "SSL certificate problem: unable to get local issuer certificate" visible. Change-Id: Icf0658b5e9f7ac9c58f98291345442f8e405435f --- includes/filerepo/ForeignAPIRepo.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index c6941e6740..ec84762f6a 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -521,6 +521,7 @@ class ForeignAPIRepo extends FileRepo { if ( $status->isOK() ) { return $req->getContent(); } else { + wfDebug( "ForeignAPIRepo: ERROR on GET: " . $status->getWikiText() ); return false; } } -- 2.20.1