mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-03 23:09:18 +02: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue