Added logging
authorMichael <heluecht@pirati.ca>
Sun, 13 Dec 2020 16:38:12 +0000 (16:38 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 13 Dec 2020 16:38:12 +0000 (16:38 +0000)
src/Model/Post/Delayed.php

index aa0270e..3d41371 100644 (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 = [])
        {
                if (empty($item['uid']) || self::exists($uri, $item['uid'])) {
+                       Logger::notice('No uid or already found');
                        return false;
                }