Temporary debug hack tracking down 'revoked accesstoken' issue with OMB posts

This commit is contained in:
Brion Vibber 2010-02-15 15:19:16 -08:00
parent 9f8e25bfe7
commit 8869ccc94e

View File

@ -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);
}