Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Pipeline #13779 passed
Pipeline: Castopod

#13783

    Pipeline: castopod.org

    #13782

      ......@@ -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;
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Finish editing this message first!
      Please register or to comment