summaryrefslogtreecommitdiff
path: root/extlib/libomb/service_provider.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-16 12:46:02 -0500
committerEvan Prodromou <evan@status.net>2010-02-16 12:46:02 -0500
commit3d170bfa30168280a9c11e944f886460d7cc18c7 (patch)
tree0d99d6164fce4b35ceeff86acdda21722f4681e3 /extlib/libomb/service_provider.php
parent71ecd689019a8086570c677af47ead4e02227fb3 (diff)
parent81b6b58e33f55054b7e5dd546f06dbdb5696ed92 (diff)
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'extlib/libomb/service_provider.php')
-rwxr-xr-xextlib/libomb/service_provider.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/extlib/libomb/service_provider.php b/extlib/libomb/service_provider.php
index 753152713..a1c69e86f 100755
--- a/extlib/libomb/service_provider.php
+++ b/extlib/libomb/service_provider.php
@@ -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);
}