diff --git a/templates/utils.html b/templates/utils.html
index e861346..571dc2c 100644
--- a/templates/utils.html
+++ b/templates/utils.html
@@ -82,7 +82,7 @@
{% elif meta.in_reply_to_self %}
{% endif %}
diff --git a/utils/template_filters.py b/utils/template_filters.py
index 085791c..aec0dc7 100644
--- a/utils/template_filters.py
+++ b/utils/template_filters.py
@@ -247,6 +247,9 @@ def get_answer_count(choice, obj, meta):
if option.get("name") == choice:
return option.get("replies", {}).get("totalItems", 0)
+ _logger.warning(f"invalid poll data {choice} {obj} {meta}")
+ return 0
+
@filters.app_template_filter()
def get_total_answers_count(obj, meta):