Added some logging

This commit is contained in:
Michael 2020-09-17 04:31:38 +00:00
parent c8f02350b6
commit 5f46b09772

View file

@ -181,6 +181,13 @@ class Receiver
}
Processor::fetchMissingActivity($object_id);
$item_id = Item::searchByLink($object_id);
if ($item_id) {
Logger::info('Relayed message had been fetched and stored', ['id' => $object_id, 'item' => $item_id]);
} else {
Logger::notice('Relayed message had not been stored', ['id' => $object_id]);
}
}
/**