fixed namespace error on GatewayError class

This commit is contained in:
Chris Nighitngale 2012-02-16 00:20:38 -07:00 committed by John Dyer
parent e69daa02c6
commit ae33b24d4f
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class Spree::PaypalAccount < ActiveRecord::Base
def gateway_error(text)
msg = "#{I18n.t('gateway_error')} ... #{text}"
logger.error(msg)
raise Spree::GatewayError.new(msg)
raise Spree::Core::GatewayError.new(msg)
end
private