Content deleted Content added
add the error category if any errors are detected |
use ArticleHistory:try for categories as well |
||
Line 661:
-- Status object categories
if statusObj then
for i, categoryObj in ipairs(self:getStatusObj():exportCategories(self)) do▼
local categories = self:try(statusObj.exportCategories, statusObj, self)
ret[#ret + 1] = tostring(categoryObj)
end
Line 669 ⟶ 671:
-- Action object categories
for i, actionObj in ipairs(self:getActionObjects() or {}) do
for j, categoryObj in ipairs(categories or {}) do
ret[#ret + 1] = tostring(categoryObj)
end
|