diff --git a/src/clj/auto_ap/import/yodlee.clj b/src/clj/auto_ap/import/yodlee.clj index 876c86a8..d27bcc26 100644 --- a/src/clj/auto_ap/import/yodlee.clj +++ b/src/clj/auto_ap/import/yodlee.clj @@ -52,8 +52,11 @@ [?c :client/bank-accounts ?ba]] (d/db conn))] (doseq [[yodlee-account bank-account client-id] account-lookup - transaction (client/get-specific-transactions yodlee-account)] - (log/info "importing") + transaction (try + (client/get-specific-transactions yodlee-account) + (catch Exception e + (log/warn e) + []))] (t/import-transaction! import-batch (assoc (yodlee->transaction transaction) :transaction/bank-account bank-account :transaction/client client-id)))