Fixed uvl.errors
[project/luci.git] / libs / uvl / luasrc / uvl / errors.lua
index bdd596c..242965d 100644 (file)
@@ -121,7 +121,7 @@ function error.child(self, err)
        if not self.childs then
                self.childs = { err }
        else
        if not self.childs then
                self.childs = { err }
        else
-               table.insert( self.childs, err )
+               self.childs[#self.childs+1] = err
        end
        return self
 end
        end
        return self
 end