fixed namespace error on GatewayError class
This commit is contained in:
parent
e69daa02c6
commit
ae33b24d4f
|
@ -93,7 +93,7 @@ class Spree::PaypalAccount < ActiveRecord::Base
|
||||||
def gateway_error(text)
|
def gateway_error(text)
|
||||||
msg = "#{I18n.t('gateway_error')} ... #{text}"
|
msg = "#{I18n.t('gateway_error')} ... #{text}"
|
||||||
logger.error(msg)
|
logger.error(msg)
|
||||||
raise Spree::GatewayError.new(msg)
|
raise Spree::Core::GatewayError.new(msg)
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in New Issue