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

Commit 58192ad6 authored by Brion Vibber's avatar Brion Vibber

OStatus: fix exception thrown on HTTP error during feed discovery

parent 3f1a9443
......@@ -129,7 +129,7 @@ class FeedDiscovery
function initFromResponse($response)
if (!$response->isOk()) {
throw new FeedSubBadResponseException($response->getCode());
throw new FeedSubBadResponseException($response->getStatus());
$sourceurl = $response->getUrl();
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