Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Castopod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ad Aures
Castopod
Commits
5e719f3e
Commit
5e719f3e
authored
1 year ago
by
Yassine Doghri
Browse files
Options
Downloads
Patches
Plain Diff
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
1 year ago
Stage: prepare
Stage: quality
Stage: release
Stage: deploy
Stage: build
Pipeline: Castopod
#13783
Pipeline: castopod.org
#13782
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/PodcastImport/Commands/PodcastImport.php
+2
-1
2 additions, 1 deletion
modules/PodcastImport/Commands/PodcastImport.php
with
2 additions
and
1 deletion
modules/PodcastImport/Commands/PodcastImport.php
+
2
−
1
View file @
5e719f3e
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Yassine Doghri
@yassinedoghri
mentioned in commit
d184998e
·
1 year ago
mentioned in commit
d184998e
mentioned in commit d184998ed57f8aa5eeeda93432a0d274fecf416f
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment