diff --git a/src/main/lemondronor/circlebot.cljs b/src/main/lemondronor/circlebot.cljs index 54bdca1..ffdd2ab 100644 --- a/src/main/lemondronor/circlebot.cljs +++ b/src/main/lemondronor/circlebot.cljs @@ -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))))))))