You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: log_entry.rb
    path of file: ./repos/solidus/core/app/models/spree
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Spree
  class LogEntry < Spree::Base
   
    
      def default_message
        <<~MSG
          #{psych_exception.message}

          You can explicitly enable aliases in config/initializers/spree.rb. E.g:

          Spree.config do |config|
            config.log_entry_allow_aliases = true
          end
        MSG
      end