Skip to content

Commit 49e62ef

Browse files
committed
Added missing exception handling for one invocation of parse_agenda_filter_params().
- Legacy-Id: 18542
1 parent 6ee63c8 commit 49e62ef

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

ietf/meeting/views.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3310,7 +3310,11 @@ def upcoming_ical(request):
33103310
33113311
Filters by wg name and session type.
33123312
"""
3313-
filter_params = parse_agenda_filter_params(request.GET)
3313+
try:
3314+
filter_params = parse_agenda_filter_params(request.GET)
3315+
except ValueError as e:
3316+
return HttpResponseBadRequest(str(e))
3317+
33143318
today = datetime.date.today()
33153319

33163320
# get meetings starting 7 days ago -- we'll filter out sessions in the past further down

0 commit comments

Comments
 (0)