Skip to content

Commit

Permalink
Add logging to plugins loading
Browse files Browse the repository at this point in the history
  • Loading branch information
devth committed Nov 13, 2020
1 parent f85ef5e commit f87c639
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/yetibot/core/loader.clj
Expand Up @@ -84,6 +84,7 @@
;; TODO allow specifying mvn repos in configuration
;; https://github.com/yetibot/yetibot/issues/1038
(defn load-plugins []
(info "load-plugins" (plugins-config))
(let [{plugins :value} (plugins-config)]
(if plugins
;; load the plugins 1 by 1 without concurrency
Expand All @@ -102,6 +103,7 @@
Plugins need to be loaded first so that `load-observers` and `load-commands`
can find any obs or cmd namespaces they bring"
[]
(info "load-all")
(load-plugins)
(load-observers)
(load-commands))
Expand Down

0 comments on commit f87c639

Please sign in to comment.