Makes logging unified
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
(ns auto-ap.import.common
|
||||
(:require
|
||||
[auto-ap.datomic :refer [conn pull-ref random-tempid]]
|
||||
[clojure.tools.logging :as log]
|
||||
[auto-ap.logging :as alog]
|
||||
[datomic.api :as dc]))
|
||||
|
||||
(defn bank-account->integration-id [bank-account]
|
||||
@@ -25,5 +25,5 @@
|
||||
:integration-status/state :integration-state/failed
|
||||
:integration-status/last-attempt (java.util.Date.)
|
||||
:integration-status/message (.getMessage e)}}])
|
||||
(log/warn e)
|
||||
(alog/warn ::integration-failed :error e)
|
||||
nil)))
|
||||
|
||||
Reference in New Issue
Block a user