From 7565018702d634922a67aaaec306f6936233fae9 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 26 Apr 2016 01:25:53 +0200 Subject: [PATCH] Improved error handling. --- app/models/transaction/clearbit_enrichment.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/transaction/clearbit_enrichment.rb b/app/models/transaction/clearbit_enrichment.rb index ef1371c31..78e49608d 100644 --- a/app/models/transaction/clearbit_enrichment.rb +++ b/app/models/transaction/clearbit_enrichment.rb @@ -51,6 +51,7 @@ class Transaction::ClearbitEnrichment return if !user.email data = fetch(user.email) #p 'OO: ' + data.inspect + return if !data config = Setting.get('clearbit_config') return if !config