diff --git a/app/channels/stimulus_reflex/channel.rb b/app/channels/stimulus_reflex/channel.rb index 8b1eb895..e116d06f 100644 --- a/app/channels/stimulus_reflex/channel.rb +++ b/app/channels/stimulus_reflex/channel.rb @@ -27,7 +27,7 @@ def receive(data) reflex.logger&.error error_message reflex.broadcast_error data: data, error: "#{exception} #{exception.backtrace.first.split(":in ")[0] if Rails.env.development?}" else - unless exception.is_a?(StimulusReflex::Reflex::VersionMismatchError) + unless exception.is_a?(StimulusReflex::VersionMismatchError) StimulusReflex.config.logger.error error_message end