tolerate errors within _all_ car.* handlers
This commit is contained in:
parent
1890345ed9
commit
31ddbd9c81
|
@ -4,9 +4,9 @@ populate_missing_handlers = function()
|
|||
-- make it available to scripts
|
||||
on[handler_name] = function(...)
|
||||
if car[handler_name] then
|
||||
car[handler_name](...)
|
||||
call_protected(car[handler_name], ...)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue