diff --git a/modules/PodcastImport/Commands/PodcastImport.php b/modules/PodcastImport/Commands/PodcastImport.php index 663c262b..4d1abe6a 100644 --- a/modules/PodcastImport/Commands/PodcastImport.php +++ b/modules/PodcastImport/Commands/PodcastImport.php @@ -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;