<commit_before>module Spree
  module Core
    module ControllerHelpers
      module Auth
        extend ActiveSupport::Concern

        included do
          before_filter :ensure_api_key
          helper_method :try_spree_current_user

          rescue_from CanCan::AccessDenied do |exception|
            return unauthorized
          end
        end
<commit_msg>Remove `return` from rescue_from block in Auth helper<commit_after>module Spree
  module Core
    module ControllerHelpers
      module Auth
        extend ActiveSupport::Concern

        included do
          before_filter :ensure_api_key
          helper_method :try_spree_current_user

          rescue_from CanCan::AccessDenied do |exception|
            unauthorized
          end
        end

{'fraction_non_alphanumeric': 0.03145478374836173, 'fraction_numerical': 0.0, 'mean_word_length': 2.251063829787234, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7651147', 'n_tokens_mistral': 193, 'n_tokens_neox': 189, 'n_words': 54}