Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Simon Brooke 2020-02-07 19:01:47 +00:00
commit 24888d27fc

View file

@ -111,9 +111,19 @@
file is read (if it is specified and present), but that individual
values can be overridden by environment variables."
(try
(timbre/info (str "Reading configuration from " config-file-path))
(let [file-contents (try
(read-string (slurp config-file-path))
(catch Exception _ {}))
(catch Exception x
(timbre/error
(str
"Failed to read configuration from "
config-file-path
" because: "
(type x)
"; "
(.getMessage x)))
{}))
config (merge
file-contents
(transform-map