Changes?
This commit is contained in:
parent
9269eb1a7e
commit
40dcb126a9
|
@ -204,6 +204,7 @@
|
||||||
(.addShutdownHook (Runtime/getRuntime)
|
(.addShutdownHook (Runtime/getRuntime)
|
||||||
(Thread. (fn []
|
(Thread. (fn []
|
||||||
(println "Stopping pricebot...")
|
(println "Stopping pricebot...")
|
||||||
|
(log/notify! logger (str "Shutting down pricebot for " (name currency) "."))
|
||||||
(stop! bot)
|
(stop! bot)
|
||||||
(>!! shutdown true))))
|
(>!! shutdown true))))
|
||||||
(log/notify! logger (str "Hi! I'm going to start watching the price of " (name currency) " for you."))
|
(log/notify! logger (str "Hi! I'm going to start watching the price of " (name currency) " for you."))
|
||||||
|
|
Loading…
Reference in New Issue