summaryrefslogtreecommitdiff
path: root/lib/gitlab/exception_log_formatter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/exception_log_formatter.rb')
-rw-r--r--lib/gitlab/exception_log_formatter.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/gitlab/exception_log_formatter.rb b/lib/gitlab/exception_log_formatter.rb
index 6aff8f909f3..9898651c9e3 100644
--- a/lib/gitlab/exception_log_formatter.rb
+++ b/lib/gitlab/exception_log_formatter.rb
@@ -12,16 +12,6 @@ module Gitlab
'exception.message' => exception.message
)
- payload.delete('extra.server')
-
- payload['extra.sidekiq'].tap do |value|
- if value.is_a?(Hash) && value.key?('args')
- value = value.dup
- payload['extra.sidekiq']['args'] = Gitlab::ErrorTracking::Processor::SidekiqProcessor
- .loggable_arguments(value['args'], value['class'])
- end
- end
-
if exception.backtrace
payload['exception.backtrace'] = Rails.backtrace_cleaner.clean(exception.backtrace)
end