adds extra logging, allows printing of checks even if solr has issues.
This commit is contained in:
@@ -1086,8 +1086,12 @@
|
||||
:payment/date (coerce/to-date (:handwritten-date snapshot)))]
|
||||
(invoice-payments invoices invoice-payment-lookup))
|
||||
(:identity request))]
|
||||
(doseq [[_ i] (:tempids result)]
|
||||
(solr/touch-with-ledger i)))))
|
||||
(try
|
||||
(doseq [[_ i] (:tempids result)]
|
||||
(solr/touch-with-ledger i))
|
||||
(catch Exception e
|
||||
(alog/error ::cant-save-solr
|
||||
:error e))))))
|
||||
|
||||
;; TODO support crediting from balance
|
||||
(defrecord PayWizard [form-params current-step invoice-by-id]
|
||||
|
||||
Reference in New Issue
Block a user