Fix for config validation.

This commit is contained in:
John Wiseman 2020-01-21 20:33:45 -08:00
parent fe17c489d9
commit 704c856387

View File

@ -500,7 +500,7 @@
:access-token :access-token-secret])]
(set/difference (set required) (set present))))
missing (concat missing1 missing2)]
(when missing
(when (seq missing)
(throw (js/Error. (str "Missing configuration values: "
(string/join ", " (sort-by str missing))))))))