webmcp

changeset 234:36346c33a020

Added level to error() call for setting global variables in mcp.lua
author jbe
date Sat Feb 28 23:34:51 2015 +0100 (2015-02-28)
parents 827c44692141
children af211bf90517
files framework/bin/mcp.lua
line diff
     1.1 --- a/framework/bin/mcp.lua	Sat Feb 28 23:28:41 2015 +0100
     1.2 +++ b/framework/bin/mcp.lua	Sat Feb 28 23:34:51 2015 +0100
     1.3 @@ -192,7 +192,7 @@
     1.4  
     1.5  -- prohibit (unintended) definition of new global variables
     1.6  function global_metatable.__newindex()
     1.7 -  error("Setting of global variable prohibited")
     1.8 +  error("Setting of global variable prohibited", 3)
     1.9  end
    1.10  
    1.11  -- execute configurations and pre-fork initializers

Impressum / About Us