tolerate errors within _all_ car.* handlers

This commit is contained in:
Kartik K. Agaram 2023-11-22 22:07:47 -08:00
parent 1890345ed9
commit 31ddbd9c81
1 changed files with 2 additions and 2 deletions

View File

@ -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