app/helpers/forest_errors_helper.rb
# Display errors that are only visible to admin users
Display errors that are only visible to admin users
Display errors that are only visible to admin users
def forest_admin_error(error, options = {})
    if Rails.env.production?
      logger.error("[Forest][AdminError] #{error.class}")
      logger.error(error.message)
      logger.error(error.backtrace.first(10).join("\n"))
    else
      raise error
    end
  end
def forest_admin_error ( error , options = { } ) if Rails . env . production? logger . error ( "[Forest][AdminError] #{error.class}" ) logger . error ( error . message ) logger . error ( error . backtrace . first ( 10 ) . join ( "\n" ) ) else raise error end end
Display errors that are only visible to admin users
Display errors that are only visible to admin users
error
<not_specific>
options
<not_specific>