show service debug info

This commit is contained in:
Evan Prodromou 2010-03-01 17:55:46 -05:00
parent 64918cfd35
commit 19ec0e3a62
1 changed files with 3 additions and 0 deletions

View File

@ -144,6 +144,9 @@ function omb_broadcast_profile($profile)
$service = new StatusNet_OMB_Service_Consumer(
array(OMB_ENDPOINT_UPDATEPROFILE => $rp->updateprofileurl),
$rp->uri);
common_debug('service = ' . print_r($service, true));
try {
$service->setToken($rp->token, $rp->secret);
$service->updateProfile($omb_profile);