libs/web: remove debugging code
[project/luci.git] / libs / web / luasrc / cbi.lua
index e885e4e..ef45a89 100644 (file)
@@ -1432,13 +1432,11 @@ function AbstractValue.validate(self, value)
                        local v
                        for _, v in ipairs(value) do
                                if v and #v > 0 and not verify_datatype(self.datatype, v) then
-                                       error('F')
                                        return nil
                                end
                        end
                else
                        if not verify_datatype(self.datatype, value) then
-                               error('F')
                                return nil
                        end
                end