From 8869ccc94e57a50c729aca97aaf878751b39fb3b Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 15 Feb 2010 15:19:16 -0800 Subject: [PATCH] Temporary debug hack tracking down 'revoked accesstoken' issue with OMB posts --- extlib/libomb/service_provider.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extlib/libomb/service_provider.php b/extlib/libomb/service_provider.php index 753152713b..a1c69e86ff 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); } -- 2.39.5