We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit ecd31384 authored by Brion Vibber's avatar Brion Vibber

Fix for error during handling of HTTP error response case in Geonames lookups

parent 8a02cad4
......@@ -458,7 +458,7 @@ class GeonamesPlugin extends Plugin
if (!$result->isOk()) {
throw new Exception("HTTP error code " . $result->code);
throw new Exception("HTTP error code " . $result->getStatus());
$body = $result->getBody();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment