Page MenuHomeDevCentral

Catch file_get_contents errors in Page::get_data
Open, Needs TriagePublic

Description

Reported by @Thibaut120094

Warning: file_get_contents(https://www.researchgate.net/publication/329773795_Jeanne_Calment_the_secret_of_longevity): failed to open stream: HTTP request failed! HTTP/1.1 429 Too Many Requests in /var/wwwroot/default/wikimedia/write/sourcetemplatesgenerator/page.php on line 126

When a non-200 code is returned by the server, we should offer a more nice error message.

Event Timeline

dereckson created this task.Jan 20 2019, 21:21
dereckson updated the task description. (Show Details)