]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Temporary debug hack tracking down 'revoked accesstoken' issue with OMB posts
authorBrion Vibber <brion@pobox.com>
Mon, 15 Feb 2010 23:19:16 +0000 (15:19 -0800)
committerBrion Vibber <brion@pobox.com>
Mon, 15 Feb 2010 23:19:16 +0000 (15:19 -0800)
extlib/libomb/service_provider.php

index 753152713bd13c0e86ca89aaa7f265dbc0f8fd82..a1c69e86ff04a0c7e079c24186d408f2ee62e380 100755 (executable)
@@ -285,6 +285,10 @@ class OMB_Service_Provider {
         list($consumer, $token) = $this->getOAuthServer()->verify_request($req);
     } catch (OAuthException $e) {
       header('HTTP/1.1 403 Forbidden');
+      // @debug hack
+      throw OMB_RemoteServiceException::forRequest($uri,
+                                   'Revoked accesstoken for ' . $listenee . ': ' . $e->getMessage());
+      // @end debug
       throw OMB_RemoteServiceException::forRequest($uri,
                                    'Revoked accesstoken for ' . $listenee);
     }