mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
fix(podcast-import): remove error log when no import in queue, exit with success instead
This commit is contained in:
parent
082cdc9ee7
commit
5e719f3e9e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user