From: Brion Vibber Date: Mon, 15 Feb 2010 23:19:16 +0000 (-0800) Subject: Temporary debug hack tracking down 'revoked accesstoken' issue with OMB posts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8869ccc94e57a50c729aca97aaf878751b39fb3b;p=quix0rs-gnu-social.git Temporary debug hack tracking down 'revoked accesstoken' issue with OMB posts --- 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); }