X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fuvl%2Fluasrc%2Fuvl%2Ferrors.lua;fp=libs%2Fuvl%2Fluasrc%2Fuvl%2Ferrors.lua;h=242965ddc129e2d4fd5b1e0c521f8f00da0a9a69;hp=bdd596ca820c0b2e347b1c5423f518769fb06821;hb=64a4270a59165357e29dc8b69d9ffd92e1ce51ec;hpb=1bfd6b667b1169715fb4e1003e488c72b25080d5 diff --git a/libs/uvl/luasrc/uvl/errors.lua b/libs/uvl/luasrc/uvl/errors.lua index bdd596ca8..242965ddc 100644 --- a/libs/uvl/luasrc/uvl/errors.lua +++ b/libs/uvl/luasrc/uvl/errors.lua @@ -121,7 +121,7 @@ function error.child(self, err) if not self.childs then self.childs = { err } else - table.insert( self.childs, err ) + self.childs[#self.childs+1] = err end return self end