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
Only suppress integrations, not rails logging
Oliver Günther05577ccf1547
diff --git a/lib/rack/timeout/suppress_internal_error_report_on_timeout.rb b/lib/rack/timeout/suppress_internal_error_report_on_timeout.rbindex 558859117b1..33ad0d9a937 100644--- a/lib/rack/timeout/suppress_internal_error_report_on_timeout.rb+++ b/lib/rack/timeout/suppress_internal_error_report_on_timeout.rb@@ -2,7 +2,10 @@ module Rackclass Timeoutmodule SuppressInternalErrorReportOnTimeoutdef op_handle_error(message_or_exception, context = {})- return if respond_to?(:request) && request.env[Rack::Timeout::ENV_INFO_KEY].try(:state) == :timed_out+ if respond_to?(:request) && request.env[Rack::Timeout::ENV_INFO_KEY].try(:state) == :timed_out+ Rails.logger.error "Rack::Timeout: Receiving timeout exception: #{message_or_exception}"+ return+ endsuperend