Added logging

This commit is contained in:
Michael 2020-12-13 16:38:12 +00:00
parent 0eb4a600b0
commit 4626f98dbe

View File

@ -47,6 +47,7 @@ class Delayed
public static function add(string $uri, array $item, int $notify = 0, bool $unprepared = false, string $delayed = '', array $taglist = [], array $attachments = []) public static function add(string $uri, array $item, int $notify = 0, bool $unprepared = false, string $delayed = '', array $taglist = [], array $attachments = [])
{ {
if (empty($item['uid']) || self::exists($uri, $item['uid'])) { if (empty($item['uid']) || self::exists($uri, $item['uid'])) {
Logger::notice('No uid or already found');
return false; return false;
} }