From 99eb7c39fe9d4f167f7c5dc46c43d875baf35462 Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 19 Jul 2024 16:20:19 +0530 Subject: [PATCH] Fix error instance --- publichealth/home/templatetags/navigation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publichealth/home/templatetags/navigation.py b/publichealth/home/templatetags/navigation.py index f03aea3..3db9dab 100644 --- a/publichealth/home/templatetags/navigation.py +++ b/publichealth/home/templatetags/navigation.py @@ -83,7 +83,7 @@ def menuitems_children(parent, context=None): elif 'mitglied werden' in menuitem.title.lower() and remove_mitglied: items_to_remove.append(menuitem) menuitem.title = menuitem.trans_title - except AttributeError: + except AttributeError as ae: print("Menuitem %s has an issue :: %s" % (menuitem.title, str(ae))) pass for item in items_to_remove: