Show info if we can't generate a description.

This commit is contained in:
John Wiseman 2020-01-25 10:57:37 -08:00
parent 7037c04ba2
commit 29f9030413

View File

@ -346,6 +346,8 @@
(defn generate-description [ac sqb reverse wiki-nearby nearby] (defn generate-description [ac sqb reverse wiki-nearby nearby]
(let [info (template-data ac sqb reverse wiki-nearby nearby) (let [info (template-data ac sqb reverse wiki-nearby nearby)
expansion (expand-template info)] expansion (expand-template info)]
(when (not expansion)
(log-warn "Info: %s" info))
(:text expansion))) (:text expansion)))