mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +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);
|
$nextImport = end($queuedImports);
|
||||||
|
|
||||||
if (! $nextImport instanceof PodcastImportTask) {
|
if (! $nextImport instanceof PodcastImportTask) {
|
||||||
throw new Exception('No import in queue.');
|
// no queued import task, stop process.
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->importTask = $nextImport;
|
$this->importTask = $nextImport;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user