More debugging in Salmon since we get situations which can't find inReplyToID

This commit is contained in:
Mikael Nordfeldth 2016-04-01 23:10:34 +02:00
parent 547f92de07
commit 922b65d231
1 changed files with 2 additions and 0 deletions

View File

@ -43,7 +43,9 @@ class UsersalmonAction extends SalmonAction
if (!empty($this->activity->context->replyToID)) {
try {
$notice = Notice::getByUri($this->activity->context->replyToID);
common_debug('Referenced Notice object found with URI: '.$notice->getUri());
} catch (NoResultException $e) {
common_debug('Referenced Notice object NOT found with URI: '.$this->activity->context->replyToID);
$notice = false;
}
}