Add debug info
This commit is contained in:
parent
5226ca7d81
commit
554ba6dc91
@ -134,7 +134,7 @@ class Activitypub_notice extends Managed_DataObject
|
|||||||
try {
|
try {
|
||||||
$inReplyTo = ActivityPubPlugin::grab_notice_from_url($settings['inReplyTo']);
|
$inReplyTo = ActivityPubPlugin::grab_notice_from_url($settings['inReplyTo']);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
throw new Exception('Invalid Object inReplyTo value.');
|
throw new Exception('Invalid Object inReplyTo value: '.$e->getMessage());
|
||||||
}
|
}
|
||||||
$act->context->replyToID = $inReplyTo->getUri();
|
$act->context->replyToID = $inReplyTo->getUri();
|
||||||
$act->context->replyToUrl = $inReplyTo->getUrl();
|
$act->context->replyToUrl = $inReplyTo->getUrl();
|
||||||
|
@ -420,7 +420,7 @@ class Activitypub_explorer
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($res["orderedItems"] as $profile) {
|
foreach ($res["orderedItems"] as $profile) {
|
||||||
if ($this->_lookup($profile) == false) {
|
if ($this->_lookup($profile) == false) {
|
||||||
common_debug('ActivityPub Explorer: Found an invalid actor for '.$profile);
|
common_debug('ActivityPub Explorer: Found an invalid actor for '.$profile);
|
||||||
|
Reference in New Issue
Block a user