Commit 5e719f3e authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix(podcast-import): remove error log when no import in queue, exit with success instead

parent 082cdc9e
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -74,7 +74,8 @@ class PodcastImport extends BaseCommand
        $nextImport = end($queuedImports);

        if (! $nextImport instanceof PodcastImportTask) {
            throw new Exception('No import in queue.');
            // no queued import task, stop process.
            exit(0);
        }

        $this->importTask = $nextImport;