Fix typo in Sentry.capture_exception

Fixes CODEOCEAN-Y9
This commit is contained in:
Sebastian Serth
2023-09-26 17:35:22 +02:00
parent 4dda45a696
commit 38d3d4a276

View File

@ -32,7 +32,7 @@ class SynchronizedEditorChannel < ApplicationCable::Channel
reject unless ProgrammingGroupPolicy.new(current_user, programming_group).stream_sync_editor?
"synchronized_editor_channel_group_#{programming_group.id}"
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
def programming_group