diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-15 15:19:16 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-15 15:19:16 -0800 |
commit | 8869ccc94e57a50c729aca97aaf878751b39fb3b (patch) | |
tree | f6fb202f7bec42aa96ea651a78d3350d4fac7642 /extlib/libomb | |
parent | 9f8e25bfe70134b7e19bb0067062e55bbb5b6a23 (diff) |
Temporary debug hack tracking down 'revoked accesstoken' issue with OMB posts
Diffstat (limited to 'extlib/libomb')
-rwxr-xr-x | extlib/libomb/service_provider.php | 4 |
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); } |