more debug info on inbox replies
This commit is contained in:
parent
64dbb7b539
commit
956d5c9b7d
@ -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();
|
||||||
|
Reference in New Issue
Block a user