more debug info on inbox replies

This commit is contained in:
Diogo Cordeiro 2018-08-02 04:14:39 +01:00
parent 64dbb7b539
commit 956d5c9b7d
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class Activitypub_notice extends Managed_DataObject
try {
$inReplyTo = ActivityPubPlugin::grab_notice_from_url($settings['inReplyTo']);
} 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->replyToUrl = $inReplyTo->getUrl();