From b6093930e37d37fdd572cd579ef8c62f8f5e247c Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 5 Apr 2019 18:13:37 +0200 Subject: [PATCH] Improved error handling. --- lib/sessions/backend/ticket_overview_list.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/sessions/backend/ticket_overview_list.rb b/lib/sessions/backend/ticket_overview_list.rb index 845b23ec4..9e051b78c 100644 --- a/lib/sessions/backend/ticket_overview_list.rb +++ b/lib/sessions/backend/ticket_overview_list.rb @@ -103,6 +103,8 @@ class Sessions::Backend::TicketOverviewList < Sessions::Backend::Base assets = {} overview = Overview.lookup(id: data[:overview][:id]) + next if !overview + if asset_needed?(overview) assets = asset_push(overview, assets) end