# HG changeset patch # User jbe # Date 1425162891 -3600 # Node ID 36346c33a020ff6d0c04269362a9fd07da28b546 # Parent 827c44692141e120679691d78e0a92fa8878269c Added level to error() call for setting global variables in mcp.lua diff -r 827c44692141 -r 36346c33a020 framework/bin/mcp.lua --- a/framework/bin/mcp.lua Sat Feb 28 23:28:41 2015 +0100 +++ b/framework/bin/mcp.lua Sat Feb 28 23:34:51 2015 +0100 @@ -192,7 +192,7 @@ -- prohibit (unintended) definition of new global variables function global_metatable.__newindex() - error("Setting of global variable prohibited") + error("Setting of global variable prohibited", 3) end -- execute configurations and pre-fork initializers