Added some logging

2022.09-rc
Michael 2020-09-17 04:31:38 +00:00
rodzic c8f02350b6
commit 5f46b09772
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -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]);
}
}
/**