diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-16 09:22:02 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-16 09:22:02 -0800 |
commit | 81b6b58e33f55054b7e5dd546f06dbdb5696ed92 (patch) | |
tree | 7dddea4daac884f70d021fb11f1d02d560c0cd10 /extlib/libomb | |
parent | 2e258454f396af9f95092b9564eee08179ff6be1 (diff) | |
parent | c74aea589d5a79d7048470d44e457dffc8919ad3 (diff) |
Merge branch 'master' into testing
Conflicts:
lib/stompqueuemanager.php
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); } |