Show info if we can't generate a description.
This commit is contained in:
parent
7037c04ba2
commit
29f9030413
@ -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)))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user