Fixed uvl.errors
[project/luci.git] / libs / uvl / luasrc / uvl / errors.lua
index bdd596ca820c0b2e347b1c5423f518769fb06821..242965ddc129e2d4fd5b1e0c521f8f00da0a9a69 100644 (file)
@@ -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