revamped logging!
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
[clojure.java.shell :as sh]
|
||||
[clojure.string :as str]
|
||||
[clj-time.format :as f]
|
||||
[clj-time.core :as time]))
|
||||
[clj-time.core :as time]
|
||||
[clojure.tools.logging :as log]))
|
||||
|
||||
(defmulti parse-value (fn [method _ _]
|
||||
method))
|
||||
@@ -39,7 +40,7 @@
|
||||
(reduced (time/from-time-zone (f/parse (f/formatter format) value)
|
||||
(time/time-zone-for-id "America/Los_Angeles")))
|
||||
(catch Exception e
|
||||
(println (.getMessage e))
|
||||
(log/warn e)
|
||||
nil)))
|
||||
nil
|
||||
format)
|
||||
|
||||
Reference in New Issue
Block a user