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 error handling duplication.

Pavel Balashou2a666ce02b03
diff --git a/modules/webhooks/app/workers/represented_webhook_job.rb b/modules/webhooks/app/workers/represented_webhook_job.rb
index 90927639d71..53c848ec20f 100644
--- a/modules/webhooks/app/workers/represented_webhook_job.rb
+++ b/modules/webhooks/app/workers/represented_webhook_job.rb
@@ -52,9 +52,6 @@ class RepresentedWebhookJob < WebhookJob
request_body,
headers
)
- rescue Faraday::TimeoutError => e
- response = e.response
- exception = e
rescue Faraday::Error => e
response = e.response
exception = e