diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-09 10:56:33 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-09 10:56:33 -0800 |
commit | 58192ad68758437a37d8af19d6676d35699ed070 (patch) | |
tree | c0b2054aaf769748fdd7ce7392cb122aaaa7470e /plugins/OStatus/lib/feeddiscovery.php | |
parent | 3f1a9443d9fc8c6f519913b6014eec814248eea4 (diff) |
OStatus: fix exception thrown on HTTP error during feed discovery
Diffstat (limited to 'plugins/OStatus/lib/feeddiscovery.php')
-rw-r--r-- | plugins/OStatus/lib/feeddiscovery.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/lib/feeddiscovery.php b/plugins/OStatus/lib/feeddiscovery.php index 7afb71bdc..ff76b229e 100644 --- a/plugins/OStatus/lib/feeddiscovery.php +++ b/plugins/OStatus/lib/feeddiscovery.php @@ -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(); |