Skip to content

Commit 17e4f10

Browse files
author
MoretS
committed
Remove sentry_raven config
1 parent cdde673 commit 17e4f10

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

app/controllers/decidim_controller.rb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,4 @@
22
# entry point, but you can change what controller it inherits from
33
# so you can customize some methods.
44
class DecidimController < ApplicationController
5-
before_action :set_raven_context
6-
7-
private
8-
9-
def set_raven_context
10-
return unless Rails.application.secrets.dig(:sentry, :enabled)
11-
Raven.user_context({id: try(:current_user).try(:id)}.merge(session))
12-
Raven.extra_context(params: params.to_unsafe_h, url: request.url)
13-
end
145
end

0 commit comments

Comments
 (0)