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