OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
allow failed jobs retry initializer to fail during migration
Markus Kahl8e9918636fa3
diff --git a/config/initializers/retry_failed_jobs_with_name_error.rb b/config/initializers/retry_failed_jobs_with_name_error.rbindex af95bcb7f97..cb78b81680a 100644--- a/config/initializers/retry_failed_jobs_with_name_error.rb+++ b/config/initializers/retry_failed_jobs_with_name_error.rb@@ -47,6 +47,8 @@ Rails.application.configure dorescue StandardError => eRails.logger.error("Failed to enqueue job for retry #{job.display_name} (job id: #{job.id}): #{e.message}")end+ rescue ActiveRecord::StatementInvalid+ # will happen when we currently are migratingrescue LoadError# Ignore LoadError that happens when nulldb://db database adapter is usedend