From: Michael J. Rubinsky Date: Wed, 30 Jun 2010 21:28:12 +0000 (-0400) Subject: fix exception throwing X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6883d6b1d88b140f562106694865fc788e0bc335;p=horde.git fix exception throwing --- diff --git a/framework/Service_Twitter/lib/Horde/Service/Twitter/Request/Oauth.php b/framework/Service_Twitter/lib/Horde/Service/Twitter/Request/Oauth.php index 3e2039540..b97783fea 100644 --- a/framework/Service_Twitter/lib/Horde/Service/Twitter/Request/Oauth.php +++ b/framework/Service_Twitter/lib/Horde/Service/Twitter/Request/Oauth.php @@ -86,7 +86,7 @@ class Horde_Service_Twitter_Request_Oauth extends Horde_Service_Twitter_Request } if ($response->code >= 400 && $response->code <= 500) { - throw new Horde_Service_Twitter_Exception($body); + throw new Horde_Service_Twitter_Exception($response->getBody()); } return $response->getBody(); }