Improved error handling.

This commit is contained in:
Martin Edenhofer 2016-04-26 01:25:53 +02:00
parent 5812515fe5
commit 7565018702

View file

@ -51,6 +51,7 @@ class Transaction::ClearbitEnrichment
return if !user.email return if !user.email
data = fetch(user.email) data = fetch(user.email)
#p 'OO: ' + data.inspect #p 'OO: ' + data.inspect
return if !data
config = Setting.get('clearbit_config') config = Setting.get('clearbit_config')
return if !config return if !config