From 38d3d4a276f993f9659e53f32d7c754a3d138d84 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 26 Sep 2023 17:35:22 +0200 Subject: [PATCH] Fix typo in Sentry.capture_exception Fixes CODEOCEAN-Y9 --- app/channels/synchronized_editor_channel.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/channels/synchronized_editor_channel.rb b/app/channels/synchronized_editor_channel.rb index 6516e32e..ce28fe24 100644 --- a/app/channels/synchronized_editor_channel.rb +++ b/app/channels/synchronized_editor_channel.rb @@ -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