Print what we're getting for the auth token
This commit is contained in:
parent
93a54b9c1b
commit
30637bdead
|
@ -193,6 +193,12 @@
|
|||
"available: " (pprint-to-string resolved)))
|
||||
:else resolved)))
|
||||
|
||||
(defn pthru [label o]
|
||||
(println (str "************ START " label))
|
||||
(clojure.pprint/pprint o)
|
||||
(println (str "************ END " label))
|
||||
o)
|
||||
|
||||
(defn -main [& args]
|
||||
(let [required-keys [:exchange-host
|
||||
:currency
|
||||
|
@ -206,7 +212,7 @@
|
|||
bebot-auth-token-file
|
||||
bebot-channel-id
|
||||
notify-user]} (get-args required-keys args)]
|
||||
(let [logger (bebot-log/make-logger bebot-url (slurp bebot-auth-token-file) bebot-channel-id notify-user)
|
||||
(let [logger (bebot-log/make-logger bebot-url (pthru "AUTH_TOKEN" (slurp bebot-auth-token-file)) bebot-channel-id notify-user)
|
||||
checks (create-checks logger)
|
||||
bot (reify-bot exchange-host (-> currency str/lower-case keyword))
|
||||
shutdown (chan)]
|
||||
|
|
Loading…
Reference in New Issue