From 29f9030413d4177489c23d4d0103b7af4c694e4a Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Sat, 25 Jan 2020 10:57:37 -0800 Subject: [PATCH] Show info if we can't generate a description. --- src/main/lemondronor/circlebot.cljs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/lemondronor/circlebot.cljs b/src/main/lemondronor/circlebot.cljs index 73a7eed..b1320bc 100644 --- a/src/main/lemondronor/circlebot.cljs +++ b/src/main/lemondronor/circlebot.cljs @@ -346,6 +346,8 @@ (defn generate-description [ac sqb reverse wiki-nearby nearby] (let [info (template-data ac sqb reverse wiki-nearby nearby) expansion (expand-template info)] + (when (not expansion) + (log-warn "Info: %s" info)) (:text expansion)))