summaryrefslogtreecommitdiff
path: root/app/workers/email_receiver_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/email_receiver_worker.rb')
-rw-r--r--app/workers/email_receiver_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/email_receiver_worker.rb b/app/workers/email_receiver_worker.rb
index 9ceab9bb878..220611686fb 100644
--- a/app/workers/email_receiver_worker.rb
+++ b/app/workers/email_receiver_worker.rb
@@ -12,7 +12,7 @@ class EmailReceiverWorker # rubocop:disable Scalability/IdempotentWorker
begin
Gitlab::Email::Receiver.new(raw).execute
- rescue => e
+ rescue StandardError => e
handle_failure(raw, e)
end
end