diff --git a/src/postorius/views/list.py b/src/postorius/views/list.py index 2936ed2..cd5ae88 100644 --- a/src/postorius/views/list.py +++ b/src/postorius/views/list.py @@ -140,6 +140,8 @@ try: mm_member = client.get_member(list_id, email) member_prefs = mm_member.preferences + except ValueError: + raise Http404(_('Member does not exist')) except Mailman404Error: return render(request, template_name, {'nolists': 'true'}) initial_moderation = dict([