Commit 8659cd81 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'rails-logger-cop-21' into 'master'

Use applogger in email receiver worker

See merge request gitlab-org/gitlab!32211
parents 3e2ab194 1a2a87e2
......@@ -20,7 +20,7 @@ class EmailReceiverWorker # rubocop:disable Scalability/IdempotentWorker
private
def handle_failure(raw, error)
Rails.logger.warn("Email can not be processed: #{error}\n\n#{raw}") # rubocop:disable Gitlab/RailsLogger
Gitlab::AppLogger.warn("Email can not be processed: #{error}\n\n#{raw}")
return unless raw.present?
......
---
title: Use applogger in email receiver worker
merge_request: 32211
author: Rajendra Kadam
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment