Fix for config validation.
This commit is contained in:
parent
fe17c489d9
commit
704c856387
@ -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))))))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user