show service debug info

This commit is contained in:
Evan Prodromou 2010-03-01 17:55:46 -05:00
parent 1ac3d15242
commit 79b2e671c2

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