Skip to content

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

Remove unnecessary rescue block.

Dombi Attila81a9102f6829
diff --git a/modules/overviews/app/controllers/overviews/project_phases_controller.rb b/modules/overviews/app/controllers/overviews/project_phases_controller.rb
index a5a747351ad..908c0917d54 100644
--- a/modules/overviews/app/controllers/overviews/project_phases_controller.rb
+++ b/modules/overviews/app/controllers/overviews/project_phases_controller.rb
@@ -79,9 +79,6 @@ module ::Overviews
.eager_load(:definition, :project)
.find(params[:id])
@project = @project_phase.project
- rescue ActiveRecord::RecordNotFound
- # TODO: Use rescue from in the controller, and remove all the rescue instances
- render_404
end
end
end