Improved error handling.
This commit is contained in:
parent
8e25338a11
commit
b6093930e3
1 changed files with 2 additions and 0 deletions
|
@ -103,6 +103,8 @@ class Sessions::Backend::TicketOverviewList < Sessions::Backend::Base
|
||||||
|
|
||||||
assets = {}
|
assets = {}
|
||||||
overview = Overview.lookup(id: data[:overview][:id])
|
overview = Overview.lookup(id: data[:overview][:id])
|
||||||
|
next if !overview
|
||||||
|
|
||||||
if asset_needed?(overview)
|
if asset_needed?(overview)
|
||||||
assets = asset_push(overview, assets)
|
assets = asset_push(overview, assets)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue