Fix typo in Sentry.capture_exception
Fixes CODEOCEAN-Y9
This commit is contained in:
@ -32,7 +32,7 @@ class SynchronizedEditorChannel < ApplicationCable::Channel
|
|||||||
reject unless ProgrammingGroupPolicy.new(current_user, programming_group).stream_sync_editor?
|
reject unless ProgrammingGroupPolicy.new(current_user, programming_group).stream_sync_editor?
|
||||||
"synchronized_editor_channel_group_#{programming_group.id}"
|
"synchronized_editor_channel_group_#{programming_group.id}"
|
||||||
rescue NoMethodError => e
|
rescue NoMethodError => e
|
||||||
Sentry.capture_exception(e, extras: {current_user:, programming_group:, session_id: @session_id, identifier: @identifier})
|
Sentry.capture_exception(e, extra: {current_user:, programming_group:, session_id: @session_id, identifier: @identifier})
|
||||||
end
|
end
|
||||||
|
|
||||||
def programming_group
|
def programming_group
|
||||||
|
Reference in New Issue
Block a user